comparison src/share/vm/compiler/compileBroker.hpp @ 7185:90273fc0a981

8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap Summary: Add ClassLoaderData object for each anonymous class with metaspaces to allocate in. Reviewed-by: twisti, jrose, stefank
author coleenp
date Thu, 29 Nov 2012 16:50:29 -0500
parents 9191895df19d
children 291ffc492eb6 75a28f465a12
comparison
equal deleted inserted replaced
7181:2fc0334f613a 7185:90273fc0a981
41 41
42 private: 42 private:
43 Monitor* _lock; 43 Monitor* _lock;
44 uint _compile_id; 44 uint _compile_id;
45 Method* _method; 45 Method* _method;
46 jobject _method_loader; 46 jobject _method_holder;
47 int _osr_bci; 47 int _osr_bci;
48 bool _is_complete; 48 bool _is_complete;
49 bool _is_success; 49 bool _is_success;
50 bool _is_blocking; 50 bool _is_blocking;
51 int _comp_level; 51 int _comp_level;
54 CompileTask* _next, *_prev; 54 CompileTask* _next, *_prev;
55 55
56 // Fields used for logging why the compilation was initiated: 56 // Fields used for logging why the compilation was initiated:
57 jlong _time_queued; // in units of os::elapsed_counter() 57 jlong _time_queued; // in units of os::elapsed_counter()
58 Method* _hot_method; // which method actually triggered this task 58 Method* _hot_method; // which method actually triggered this task
59 jobject _hot_method_loader; 59 jobject _hot_method_holder;
60 int _hot_count; // information about its invocation counter 60 int _hot_count; // information about its invocation counter
61 const char* _comment; // more info about the task 61 const char* _comment; // more info about the task
62 62
63 public: 63 public:
64 CompileTask() { 64 CompileTask() {