Skip to content

Commit cecaaa5

Browse files
committed
Fix: declare currentThread in startJFRRecording
1 parent 2b9845c commit cecaaa5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runtime/vm/jfr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,7 @@ BOOLEAN
10831083
startJFRRecording(J9JavaVM *vm)
10841084
{
10851085
J9HookInterface **vmHooks = getVMHookInterface(vm);
1086+
J9VMThread *currentThread = currentVMThread(vm);
10861087
BOOLEAN rc = FALSE;
10871088

10881089
Assert_VM_mustHaveVMAccess(currentThread);

0 commit comments

Comments
 (0)