jni_PushLocalFrame if test
Salter, Thomas A
Thomas.Salter at unisys.com
Wed Dec 15 07:05:34 PST 2010
I just stumbled upon this test in share/vm/prims/jni.cpp, line 655:
if (capacity < 0 && capacity > MAX_REASONABLE_LOCAL_CAPACITY) {
DTRACE_PROBE1(hotspot_jni, PushLocalFrame__return, JNI_ERR);
return JNI_ERR;
}
It looks to me like that if condition is always false.
Tom Salter
Unisys Corp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20101215/b369009a/attachment.html
More information about the hotspot-dev
mailing list