[9] RFR (XS): 8147441: unchecked pending exceptions in the WhiteBox API's implementation

Zoltán Majó zoltan.majo at oracle.com
Fri Jan 15 08:43:00 UTC 2016


Hi,


please review the patch for 8147441.

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

Problem: The method codeBlob2objectArray is used by the implementation 
of the WB API to fill in an object array with information about a code 
blob. Although the codeBlob2objectArray method can cause various JNI 
exceptions, there are two code locations where the VM does not check for 
exceptions after codeBlob2objectArray returns.

Solution: Add exception check to the above mentioned code locations.

Webrev:
http://cr.openjdk.java.net/~zmajo/8147441/webrev.00/

Testing:
- JPRT;
- all hotspot tests executed locally; all tests that pass with the 
default version pass with the fixed version as well.

Thank you and best regards,


Zoltan



More information about the hotspot-compiler-dev mailing list