File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -7727,16 +7727,6 @@ protectedInitializeJavaVM(J9PortLibrary* portLibrary, void * userData)
77277727 goto error ;
77287728 }
77297729
7730- #if defined(J9VM_OPT_JFR )
7731- if (J9_ARE_ANY_BITS_SET (vm -> extendedRuntimeFlags2 , J9_EXTENDED_RUNTIME2_JFR_ENABLED )) {
7732- if (J9_ARE_ANY_BITS_SET (vm -> extendedRuntimeFlags3 , J9_EXTENDED_RUNTIME3_START_FLIGHT_RECORDING )) {
7733- if (JNI_OK != initializeJFR (vm , FALSE)) {
7734- goto error ;
7735- }
7736- }
7737- }
7738- #endif /* defined(J9VM_OPT_JFR) */
7739-
77407730 /* Use this stage to load libraries which need to set up hooks as early as possible */
77417731 if (JNI_OK != runLoadStage (vm , EARLY_LOAD )) {
77427732 goto error ;
@@ -7785,6 +7775,16 @@ protectedInitializeJavaVM(J9PortLibrary* portLibrary, void * userData)
77857775 goto error ;
77867776 }
77877777
7778+ #if defined(J9VM_OPT_JFR )
7779+ if (J9_ARE_ANY_BITS_SET (vm -> extendedRuntimeFlags2 , J9_EXTENDED_RUNTIME2_JFR_ENABLED )) {
7780+ if (J9_ARE_ANY_BITS_SET (vm -> extendedRuntimeFlags3 , J9_EXTENDED_RUNTIME3_START_FLIGHT_RECORDING )) {
7781+ if (JNI_OK != initializeJFR (vm , FALSE)) {
7782+ goto error ;
7783+ }
7784+ }
7785+ }
7786+ #endif /* defined(J9VM_OPT_JFR) */
7787+
77887788 if (JNI_OK != (stageRC = runInitializationStage (vm , ALL_VM_ARGS_CONSUMED ))) {
77897789 goto error ;
77907790 }
You can’t perform that action at this time.
0 commit comments