提交 2a54ca73 编写于 作者: S shade

8241750: x86_32 build failure after JDK-8227269

Reviewed-by: rkennke, cjplummer
上级 56f42edd
......@@ -69,7 +69,7 @@ cbTrackingObjectFree(jvmtiEnv* jvmti_env, jlong tag)
debugMonitorExit(classTrackLock);
return;
}
*(char**)bagAdd(deletedSignatures) = (char*)tag;
*(char**)bagAdd(deletedSignatures) = (char*)jlong_to_ptr(tag);
debugMonitorExit(classTrackLock);
}
......@@ -117,7 +117,7 @@ classTrack_addPreparedClass(JNIEnv *env_unused, jclass klass)
if (error != JVMTI_ERROR_NONE) {
EXIT_ERROR(error,"signature");
}
error = JVMTI_FUNC_PTR(trackingEnv, SetTag)(env, klass, (jlong)signature);
error = JVMTI_FUNC_PTR(trackingEnv, SetTag)(env, klass, ptr_to_jlong(signature));
if (error != JVMTI_ERROR_NONE) {
jvmtiDeallocate(signature);
EXIT_ERROR(error,"SetTag");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册