Skip to content

Commit

Permalink
Merge pull request #2376 from gacholio/maskfix
Browse files Browse the repository at this point in the history
Fix incorrect mask
  • Loading branch information
DanHeidinga committed Jul 12, 2018
2 parents 7a45ac8 + 4d50624 commit 3cbbe5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/codert_vm/cnathelp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ slow_jitMonitorEnterImpl(J9VMThread *currentThread, bool forMethod)
Assert_CodertVM_false(NULL == inlineMap);
if ((NULL == getJitInlinedCallInfo(metaData)) || (NULL == getFirstInlinedCallSite(metaData, inlineMap))) {
J9SFJITResolveFrame *resolveFrame = (J9SFJITResolveFrame*)currentThread->sp;
resolveFrame->specialFrameFlags = (resolveFrame->specialFrameFlags &~J9_STACK_FLAGS_JIT_RESOLVE_FRAME) | J9_STACK_FLAGS_JIT_FAILED_METHOD_MONITOR_ENTER_RESOLVE;
resolveFrame->specialFrameFlags = (resolveFrame->specialFrameFlags & ~J9_STACK_FLAGS_JIT_FRAME_SUB_TYPE_MASK) | J9_STACK_FLAGS_JIT_FAILED_METHOD_MONITOR_ENTER_RESOLVE;
}
}
addr = setNativeOutOfMemoryErrorFromJIT(currentThread, J9NLS_VM_FAILED_TO_ALLOCATE_MONITOR);
Expand Down

0 comments on commit 3cbbe5f

Please sign in to comment.