src/share/vm/runtime/thread.cpp

changeset 9949
fb74ae591209
parent 9944
26d1803768c7
parent 9925
30fb8c8cceb9
child 9986
85e682d8ab91
     1.1 --- a/src/share/vm/runtime/thread.cpp	Mon Apr 11 08:51:53 2016 +0200
     1.2 +++ b/src/share/vm/runtime/thread.cpp	Mon Jun 29 21:30:26 2020 +0100
     1.3 @@ -3492,15 +3492,14 @@
     1.4    }
     1.5  
     1.6  #if !INCLUDE_JFR
     1.7 -    // if JFR is not enabled at the build time keep the original JvmtiExport location
     1.8 -
     1.9 -    // Always call even when there are not JVMTI environments yet, since environments
    1.10 -    // may be attached late and JVMTI must track phases of VM execution
    1.11 -    JvmtiExport::enter_start_phase();
    1.12 -
    1.13 -    // Notify JVMTI agents that VM has started (JNI is up) - nop if no agents.
    1.14 -    JvmtiExport::post_vm_start();
    1.15 -  }
    1.16 +  // if JFR is not enabled at the build time keep the original JvmtiExport location
    1.17 +
    1.18 +  // Always call even when there are not JVMTI environments yet, since environments
    1.19 +  // may be attached late and JVMTI must track phases of VM execution
    1.20 +  JvmtiExport::enter_start_phase();
    1.21 +
    1.22 +  // Notify JVMTI agents that VM has started (JNI is up) - nop if no agents.
    1.23 +  JvmtiExport::post_vm_start();
    1.24  #endif
    1.25  
    1.26    {

mercurial