[16]RFR(S):8249092:InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code

Patric Hedlin patric.hedlin at oracle.com
Wed Sep 2 12:22:34 UTC 2020


Hi Zhuoren,

I don't actually know what behaviour to expect from the Unsafe atomics 
in this test-case but perhaps you could re-cap the original problem 
(addressed in JDK-8246051) since it seems to raise some questions. Did 
you have an example (real code) where this behaviour is essential?

Best regards,
Patric Hedlin

(Including hotspot-runtime-dev at openjdk.java.net)


On 2020-09-01 07:35, Wang Zhuo(Zhuoren) wrote:
> Hi, this is a fix for a test case.
> In -Xcomp mode, compiler/unsafe/TestUnsafeUnalignedSwap.java will fail 
> because the catch misses the error due to async exception.
> This patch uses a loop to make sure the error can be caught. Also 
> -Xcomp is added in test.
> BUG: https://bugs.openjdk.java.net/browse/JDK-8249092
> Patch: http://cr.openjdk.java.net/~wzhuo/8249092/webrev.00/
>
>
> Regards,
> Zhuoren
>



More information about the hotspot-runtime-dev mailing list