mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Cache Jvmti and DTrace flags used by Compiler. Reviewed-by: never
This commit is contained in:
parent
b5cff6a1a0
commit
34ee921399
16 changed files with 118 additions and 35 deletions
|
@ -53,6 +53,18 @@ private:
|
|||
char* _name_buffer;
|
||||
int _name_buffer_len;
|
||||
|
||||
// Cache Jvmti state
|
||||
bool _jvmti_can_hotswap_or_post_breakpoint;
|
||||
bool _jvmti_can_examine_or_deopt_anywhere;
|
||||
bool _jvmti_can_access_local_variables;
|
||||
bool _jvmti_can_post_exceptions;
|
||||
|
||||
// Cache DTrace flags
|
||||
bool _dtrace_extended_probes;
|
||||
bool _dtrace_monitor_probes;
|
||||
bool _dtrace_method_probes;
|
||||
bool _dtrace_alloc_probes;
|
||||
|
||||
// Distinguished instances of certain ciObjects..
|
||||
static ciObject* _null_object_instance;
|
||||
static ciMethodKlass* _method_klass_instance;
|
||||
|
@ -236,6 +248,20 @@ public:
|
|||
bool break_at_compile() { return _break_at_compile; }
|
||||
void set_break_at_compile(bool z) { _break_at_compile = z; }
|
||||
|
||||
// Cache Jvmti state
|
||||
void cache_jvmti_state();
|
||||
bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint; }
|
||||
bool jvmti_can_examine_or_deopt_anywhere() const { return _jvmti_can_examine_or_deopt_anywhere; }
|
||||
bool jvmti_can_access_local_variables() const { return _jvmti_can_access_local_variables; }
|
||||
bool jvmti_can_post_exceptions() const { return _jvmti_can_post_exceptions; }
|
||||
|
||||
// Cache DTrace flags
|
||||
void cache_dtrace_flags();
|
||||
bool dtrace_extended_probes() const { return _dtrace_extended_probes; }
|
||||
bool dtrace_monitor_probes() const { return _dtrace_monitor_probes; }
|
||||
bool dtrace_method_probes() const { return _dtrace_method_probes; }
|
||||
bool dtrace_alloc_probes() const { return _dtrace_alloc_probes; }
|
||||
|
||||
// The compiler task which has created this env.
|
||||
// May be useful to find out compile_id, comp_level, etc.
|
||||
CompileTask* task() { return _task; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue