RFR 8178949: The split verifier allows anewarray to create an array of more than 255 dimensions.

harold seigel harold.seigel at oracle.com
Fri Apr 21 19:08:21 UTC 2017


Hi,

Please review this updated fix for JDK-8178949: 
http://cr.openjdk.java.net/~hseigel/bug_8178949.2/webrev/index.html

The updated fix is more efficient than my original fix.

Note that the updated fix only affects verifier.cpp. TestANewArray.java 
hasn't changed from the original fix.

Harold


On 4/20/2017 9:09 AM, harold seigel wrote:
> Hi,
>
> Please review this small JDK-10 fix for anewarray bytecodes that try 
> to create arrays with more than 255 dimensions.
>
> Open Webrev: 
> http://cr.openjdk.java.net/~hseigel/bug_8178949/webrev/index.html
>
> JBS Bug:  https://bugs.openjdk.java.net/browse/JDK-8178949
>
> The fix was tested with JCK lang and vm tests, the JTreg hotspot, 
> java/io, java/lang, java/util and other tests, the RBT tier2 -tier5 
> tests, the co-located NSK tests, and with JPRT.
>
> Thanks, Harold
>



More information about the hotspot-runtime-dev mailing list