8066103: C2's range check smearing allows out of bound array accesses
paul.sandoz at oracle.com
Wed Dec 3 09:31:37 UTC 2014
On Dec 3, 2014, at 6:14 AM, John Rose <john.r.rose at oracle.com> wrote:
> The test cases are very good.
I agree, as an outsider looking in they are really valuable and useful to reverse engineer the often mysterious workings of the compiler.
> One suggestion: Use a driver routine to warm up, execute, and verify all the tests.
+1 the repetition makes it harder to read/maintain. I am not sure what John suggests but since all methods can support the same signature you could create a functional interface for the signature (int, int, boolean)int and sprinkle some method refs around to avoid the boiler plate of inner classes for each test (assuming indy does not get in the way of the compiler doing what is to be tested).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the hotspot-compiler-dev