RFR: 8356075: Support Shenandoah GC in JVMCI [v4]

Doug Simon dnsimon at openjdk.org
Tue May 6 11:56:23 UTC 2025


On Mon, 5 May 2025 20:25:27 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> In order to support Shenandoah GC in Graal, some changes are required in JVMCI, namely, export Shenandoah relevant symbols.
>> 
>> Testing:
>>  - [x] extensive testing with https://github.com/oracle/graal/pull/10904
>
> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Simplify pre-barrier runtime entry

src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp line 239:

> 237:     cardtable_start_address = base;
> 238:     cardtable_shift = CardTable::card_shift();
> 239:   } else if (bs->is_a(BarrierSet::ShenandoahBarrierSet)) {

This change is causing a failure in mach5 tier 1:

[2025-05-06T11:34:44,742Z] /workspace/open/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:239:35: error: no member named 'ShenandoahBarrierSet' in 'BarrierSet'
[2025-05-06T11:34:44,742Z]   } else if (bs->is_a(BarrierSet::ShenandoahBarrierSet)) {
[2025-05-06T11:34:44,742Z]                       ~~~~~~~~~~~~^
[2025-05-06T11:34:45,729Z] 1 error generated.

 I assume it's missing `#if INCLUDE_SHENANDOAHGC`.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25001#discussion_r2075304100


More information about the graal-dev mailing list