38
39 // ciEnv
40 //
41 // This class is the top level broker for requests from the compiler
42 // to the VM.
43 class ciEnv : StackObj {
44 CI_PACKAGE_ACCESS_TO
45
46 friend class CompileBroker;
47 friend class Dependencies; // for get_object, during logging
48
49 private:
50 Arena* _arena; // Alias for _ciEnv_arena except in init_shared_objects()
51 Arena _ciEnv_arena;
52 int _system_dictionary_modification_counter;
53 ciObjectFactory* _factory;
54 OopRecorder* _oop_recorder;
55 DebugInformationRecorder* _debug_info;
56 Dependencies* _dependencies;
57 const char* _failure_reason;
58 int _compilable;
59 bool _break_at_compile;
60 int _num_inlined_bytecodes;
61 CompileTask* _task; // faster access to CompilerThread::task
62 CompileLog* _log; // faster access to CompilerThread::log
63 void* _compiler_data; // compiler-specific stuff, if any
64
65 char* _name_buffer;
66 int _name_buffer_len;
67
68 // Cache Jvmti state
69 bool _jvmti_can_hotswap_or_post_breakpoint;
70 bool _jvmti_can_access_local_variables;
71 bool _jvmti_can_post_on_exceptions;
72 bool _jvmti_can_pop_frame;
73
74 // Cache DTrace flags
75 bool _dtrace_extended_probes;
76 bool _dtrace_monitor_probes;
77 bool _dtrace_method_probes;
|
38
39 // ciEnv
40 //
41 // This class is the top level broker for requests from the compiler
42 // to the VM.
43 class ciEnv : StackObj {
44 CI_PACKAGE_ACCESS_TO
45
46 friend class CompileBroker;
47 friend class Dependencies; // for get_object, during logging
48
49 private:
50 Arena* _arena; // Alias for _ciEnv_arena except in init_shared_objects()
51 Arena _ciEnv_arena;
52 int _system_dictionary_modification_counter;
53 ciObjectFactory* _factory;
54 OopRecorder* _oop_recorder;
55 DebugInformationRecorder* _debug_info;
56 Dependencies* _dependencies;
57 const char* _failure_reason;
58 bool _inc_decompile_count_on_failure;
59 int _compilable;
60 bool _break_at_compile;
61 int _num_inlined_bytecodes;
62 CompileTask* _task; // faster access to CompilerThread::task
63 CompileLog* _log; // faster access to CompilerThread::log
64 void* _compiler_data; // compiler-specific stuff, if any
65
66 char* _name_buffer;
67 int _name_buffer_len;
68
69 // Cache Jvmti state
70 bool _jvmti_can_hotswap_or_post_breakpoint;
71 bool _jvmti_can_access_local_variables;
72 bool _jvmti_can_post_on_exceptions;
73 bool _jvmti_can_pop_frame;
74
75 // Cache DTrace flags
76 bool _dtrace_extended_probes;
77 bool _dtrace_monitor_probes;
78 bool _dtrace_method_probes;
|