Skip to content

Commit

Permalink
Merge pull request #2077 from gacholio/zaapfix
Browse files Browse the repository at this point in the history
Atomic-free JNI work
  • Loading branch information
DanHeidinga authored Jun 6, 2018
2 parents a9612c3 + efe8e18 commit 15a93f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/jcl/common/java_dyn_methodhandle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ clearNonZAAPEligibleBit(JNIEnv *env, jclass nativeClass, const JNINativeMethod *
jint count = nativeMethodCount;
J9Class *j9clazz = NULL;

vmFuncs->internalAcquireVMAccess(vmThread);
vmFuncs->internalEnterVMFromJNI(vmThread);
j9clazz = J9VM_J9CLASS_FROM_HEAPCLASS(vmThread, J9_JNI_UNWRAP_REFERENCE(nativeClass));

while (0 < count) {
Expand Down

0 comments on commit 15a93f6

Please sign in to comment.