8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Andrew Haley
aph at redhat.com
Wed Mar 25 09:13:25 UTC 2015
On 24/03/15 23:40, Vladimir Kozlov wrote:
> The test failed when run it in JPRT with 32-bit fastdebug *Client* VM (-client) on linux-x86:
>
> java.lang.RuntimeException
> at MyByteBuffer.ck(HeapByteBufferTest.java:201)
> at MyByteBuffer.getLong(HeapByteBufferTest.java:211)
> at HeapByteBufferTest.step(HeapByteBufferTest.java:311)
> at HeapByteBufferTest.run(HeapByteBufferTest.java:347)
> at HeapByteBufferTest.main(HeapByteBufferTest.java:362)
>
> Could be intrinsic in C1 does not work correctly? Please, look.
I certainly will. That is odd: there's no reason I can think of why
this might happen, and I know that the test running on a server build
runs C1 code for a while so it has been tested. I guess it must be a
rare edge case. Still, I'm quite pleased that the test I wrote
detected the failure.
Do you know if this was running with +UseUnalignedAccesses?
I'm not going to be able to analyse this for a few days. Expect a
report (and hopefully a fix) next week.
Thanks,
Andrew.
More information about the core-libs-dev
mailing list