[jdk8u-dev] RFR: 8255466: C2 crashes at ciObject::get_oop() const+0x0 [v3]
Andrew John Hughes
andrew at openjdk.org
Wed Feb 19 23:08:01 UTC 2025
On Fri, 31 Jan 2025 05:49:30 GMT, SendaoYan <syan at openjdk.org> wrote:
>> Hi all,
>> This is backport of JDK-8255466, to fixes the corner case in C2. This PR also fix the compiler warning `hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null` with gcc13.
>> Patch does not apply cleanly due to in jdk8u, the jtreg tag @run main need add `bootclasspath`.
>> New test fails without the patch, passes with it.
>>
>> Additional testing:
>>
>> - [x] linux x64 tier1/2/3 jtreg test
>> - [x] linux aarch64 tier1/2/3 jtreg test
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>
> Add a whitespace
> GHA report several test failures, expect the CA issue which has been fixing by #526.
#526 doesn't fix the issue. It hides it. The right solution is to fix the offending case or at least exclude it, as has been done in the past.
Other failure shows as below:
>
> 1. Macos x64 'compiler/unsafe/OpaqueAccesses.java' [fails](https://github.com/sendaoYan/jdk8u-dev-ysd/actions/runs/13067155994/job/36461702188) 'SIGSEGV in Unsafe_GetInt', This test also fails in [PR551](https://github.com/openjdk/jdk8u-dev/pull/551) and fixing by [8186787: clang-4.0 SIGSEGV in Unsafe_PutByte #553](https://github.com/openjdk/jdk8u-dev/pull/553), it's unrelated to this PR.
>
> 2. Macos x64 'com/sun/jdi/PrivateTransportTest.sh' [fails](https://github.com/sendaoYan/jdk8u-dev-ysd/actions/runs/13067155994/job/36461701888) 'JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized', which recorded by [JDK-8216265](https://bugs.openjdk.org/browse/JDK-8216265). This test also fails in [8337110: [8u] TestNoEagerReclaimOfHumongousRegions.java should be in gc/g1 directory #551](https://github.com/openjdk/jdk8u-dev/pull/551) unralated to this PR.
>
> 3. Macos x64 'sun/misc/CopyMemory.java' [fails](https://github.com/sendaoYan/jdk8u-dev-ysd/actions/runs/13067155994/job/36461701888) 'Unsafe_SetByte', this issue fixing by [8186787: clang-4.0 SIGSEGV in Unsafe_PutByte #553](https://github.com/openjdk/jdk8u-dev/pull/553), it's unrelated to this PR.
Thanks for tracking these down. I didn't realise they all had PRs. I'll try and look over them tomorrow.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/536#issuecomment-2669961673
More information about the jdk8u-dev
mailing list