--- old/src/share/vm/gc/shared/collectedHeap.hpp 2015-05-20 10:57:35.254314649 +0200 +++ new/src/share/vm/gc/shared/collectedHeap.hpp 2015-05-20 10:57:35.102309522 +0200 @@ -101,7 +101,6 @@ protected: BarrierSet* _barrier_set; bool _is_gc_active; - uint _n_par_threads; unsigned int _total_collections; // ... started unsigned int _total_full_collections; // ... started @@ -291,11 +290,8 @@ } GCCause::Cause gc_cause() { return _gc_cause; } - // Number of threads currently working on GC tasks. - uint n_par_threads() { return _n_par_threads; } - // May be overridden to set additional parallelism. - virtual void set_par_threads(uint t) { _n_par_threads = t; }; + virtual void set_par_threads(uint t) { (void)t; }; // General obj/array allocation facilities. inline static oop obj_allocate(KlassHandle klass, int size, TRAPS);