comparison src/share/vm/runtime/compilationPolicy.hpp @ 6197:d2a62e0f25eb

6995781: Native Memory Tracking (Phase 1) 7151532: DCmd for hotspot native memory tracking Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd Reviewed-by: acorn, coleenp, fparain
author zgu
date Thu, 28 Jun 2012 17:03:16 -0400
parents 20334ed5ed3c
children 957c266d8bc5 da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
35 // It also decides which methods must always be compiled (i.e., are never 35 // It also decides which methods must always be compiled (i.e., are never
36 // interpreted). 36 // interpreted).
37 class CompileTask; 37 class CompileTask;
38 class CompileQueue; 38 class CompileQueue;
39 39
40 class CompilationPolicy : public CHeapObj { 40 class CompilationPolicy : public CHeapObj<mtCompiler> {
41 static CompilationPolicy* _policy; 41 static CompilationPolicy* _policy;
42 // Accumulated time 42 // Accumulated time
43 static elapsedTimer _accumulated_time; 43 static elapsedTimer _accumulated_time;
44 44
45 static bool _in_vm_startup; 45 static bool _in_vm_startup;