Re: RFR: 8337753: Target class of upcall stub may be unloaded [v4]

2024-09-05 Thread Amit Kumar
On Wed, 4 Sep 2024 17:03:32 GMT, Martin Doerr wrote: >> Tier1 test are fine with/without "saving & restoring" return_pc; > > I found it: > https://github.com/openjdk/jdk/blob/433f6d8a0643b59663bf76c0f3a2af27a6cc56b7/src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp#L238 > Called here: >

Re: RFR: 8337753: Target class of upcall stub may be unloaded [v4]

2024-09-05 Thread Jorn Vernee
> As discussed in the JBS issue: > > FFM upcall stubs embed a `Method*` of the target method in the stub. This > `Method*` is read from the `LambdaForm::vmentry` field associated with the > target method handle at the time when the upcall stub is generated. The MH > instance itself is stashed i