mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +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
|
@ -1064,7 +1064,7 @@ void LIRGenerator::do_IfInstanceOf(IfInstanceOf* x) {
|
|||
|
||||
|
||||
void LIRGenerator::do_Return(Return* x) {
|
||||
if (DTraceMethodProbes) {
|
||||
if (compilation()->env()->dtrace_method_probes()) {
|
||||
BasicTypeList signature;
|
||||
signature.append(T_INT); // thread
|
||||
signature.append(T_OBJECT); // methodOop
|
||||
|
@ -1769,7 +1769,7 @@ void LIRGenerator::do_Throw(Throw* x) {
|
|||
__ null_check(exception_opr, new CodeEmitInfo(info, true));
|
||||
}
|
||||
|
||||
if (JvmtiExport::can_post_exceptions() &&
|
||||
if (compilation()->env()->jvmti_can_post_exceptions() &&
|
||||
!block()->is_set(BlockBegin::default_exception_handler_flag)) {
|
||||
// we need to go through the exception lookup path to get JVMTI
|
||||
// notification done
|
||||
|
@ -1779,7 +1779,7 @@ void LIRGenerator::do_Throw(Throw* x) {
|
|||
assert(!block()->is_set(BlockBegin::default_exception_handler_flag) || unwind,
|
||||
"should be no more handlers to dispatch to");
|
||||
|
||||
if (DTraceMethodProbes &&
|
||||
if (compilation()->env()->dtrace_method_probes() &&
|
||||
block()->is_set(BlockBegin::default_exception_handler_flag)) {
|
||||
// notify that this frame is unwinding
|
||||
BasicTypeList signature;
|
||||
|
@ -2204,7 +2204,7 @@ void LIRGenerator::do_Base(Base* x) {
|
|||
java_index += type2size[t];
|
||||
}
|
||||
|
||||
if (DTraceMethodProbes) {
|
||||
if (compilation()->env()->dtrace_method_probes()) {
|
||||
BasicTypeList signature;
|
||||
signature.append(T_INT); // thread
|
||||
signature.append(T_OBJECT); // methodOop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue