< prev index next >
src/share/vm/gc/shared/collectedHeap.hpp
Print this page
@@ -99,11 +99,10 @@
MemRegion _reserved;
protected:
BarrierSet* _barrier_set;
bool _is_gc_active;
- uint _n_par_threads;
unsigned int _total_collections; // ... started
unsigned int _total_full_collections; // ... started
NOT_PRODUCT(volatile size_t _promotion_failure_alot_count;)
NOT_PRODUCT(volatile size_t _promotion_failure_alot_gc_number;)
@@ -289,15 +288,12 @@
}
_gc_cause = v;
}
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);
inline static oop array_allocate(KlassHandle klass, int size, int length, TRAPS);
inline static oop array_allocate_nozero(KlassHandle klass, int size, int length, TRAPS);
< prev index next >