RFR (XXS): JDK-8046668 : Excessive checked JNI warnings from Java startup

David Simms david.simms at oracle.com
Tue Jun 17 08:26:10 UTC 2014


Hello,

I have fix for the following bug:

     JDK-8046668 : "Excessive checked JNI warnings from Java startup"

     https://bugs.openjdk.java.net/browse/JDK-8046668

Web review:

     http://cr.openjdk.java.net/~dsimms/8046668/

This fix remove some of the pedantic JNI exception checks warnings for 
functions that throw ArrayOutOfBoundException. It was found almost all 
code checks array length, making exception checking code meaningless for 
these function.

Also fix a small bug for the excessive local reference warnings (always 
add to current number of live handles).

Testing:

     All platforms:
     - JPRT
     - VM testbase: " vm.quick.testlist 
vm.parallel_class_loading.testlist vm.regression.testlist 
vm.runtime.testlist"
     - JTREG: JDK & JVM





More information about the hotspot-runtime-dev mailing list