Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/aprofiler.hpp @ 342:37f87013dfd8
6711316: Open source the Garbage-First garbage collector
Summary: First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author | ysr |
---|---|
date | Thu, 05 Jun 2008 15:57:56 -0700 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
189:0b27f3512f9e | 342:37f87013dfd8 |
---|---|
31 // iterate_since_last_scavenge at thread switches. | 31 // iterate_since_last_scavenge at thread switches. |
32 | 32 |
33 | 33 |
34 class AllocationProfiler: AllStatic { | 34 class AllocationProfiler: AllStatic { |
35 friend class GenCollectedHeap; | 35 friend class GenCollectedHeap; |
36 friend class G1CollectedHeap; | |
36 friend class MarkSweep; | 37 friend class MarkSweep; |
37 private: | 38 private: |
38 static bool _active; // tells whether profiler is active | 39 static bool _active; // tells whether profiler is active |
39 static GrowableArray<klassOop>* _print_array; // temporary array for printing | 40 static GrowableArray<klassOop>* _print_array; // temporary array for printing |
40 | 41 |