equal
deleted
inserted
replaced
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 |