equal
deleted
inserted
replaced
92 CompileTask* _task; |
92 CompileTask* _task; |
93 |
93 |
94 // Cache JVMTI state. Defined as bytes so that reading them from Java |
94 // Cache JVMTI state. Defined as bytes so that reading them from Java |
95 // via Unsafe is well defined (the C++ type for bool is implementation |
95 // via Unsafe is well defined (the C++ type for bool is implementation |
96 // defined and may not be the same as a Java boolean). |
96 // defined and may not be the same as a Java boolean). |
|
97 uint64_t _jvmti_redefinition_count; |
97 jbyte _jvmti_can_hotswap_or_post_breakpoint; |
98 jbyte _jvmti_can_hotswap_or_post_breakpoint; |
98 jbyte _jvmti_can_access_local_variables; |
99 jbyte _jvmti_can_access_local_variables; |
99 jbyte _jvmti_can_post_on_exceptions; |
100 jbyte _jvmti_can_post_on_exceptions; |
100 jbyte _jvmti_can_pop_frame; |
101 jbyte _jvmti_can_pop_frame; |
101 |
102 |
111 JVMCICompileState(CompileTask* task); |
112 JVMCICompileState(CompileTask* task); |
112 |
113 |
113 CompileTask* task() { return _task; } |
114 CompileTask* task() { return _task; } |
114 |
115 |
115 bool jvmti_state_changed() const; |
116 bool jvmti_state_changed() const; |
|
117 uint64_t jvmti_redefinition_count() const { return _jvmti_redefinition_count; } |
116 bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint != 0; } |
118 bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint != 0; } |
117 bool jvmti_can_access_local_variables() const { return _jvmti_can_access_local_variables != 0; } |
119 bool jvmti_can_access_local_variables() const { return _jvmti_can_access_local_variables != 0; } |
118 bool jvmti_can_post_on_exceptions() const { return _jvmti_can_post_on_exceptions != 0; } |
120 bool jvmti_can_post_on_exceptions() const { return _jvmti_can_post_on_exceptions != 0; } |
119 bool jvmti_can_pop_frame() const { return _jvmti_can_pop_frame != 0; } |
121 bool jvmti_can_pop_frame() const { return _jvmti_can_pop_frame != 0; } |
120 |
122 |