[jdk19] RFR: 8288949: serviceability/jvmti/vthread/ContStackDepthTest/ContStackDepthTest.java failing [v3]

Erik Österlund eosterlund at openjdk.org
Wed Jul 6 11:23:35 UTC 2022


On Wed, 6 Jul 2022 08:55:10 GMT, Ron Pressler <rpressler at openjdk.org> wrote:

>> src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp line 1058:
>> 
>>> 1056: 
>>> 1057:     address mark = __ pc();
>>> 1058:     __ trampoline_call1(resolve, NULL, false);
>> 
>> I don't think it's necessary to call the resolve stub when in interpreted mode.  Can't we just call the Method's c2i adapter just like the interpreter would?  I guess there might be a startup issue if the adapter hasn't been generated yet.
>
> I couldn't find code that does that and could be easily reused.

The callee belongs to the same class as the caller, so they should both be linked in this context.

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

PR: https://git.openjdk.org/jdk19/pull/66


More information about the hotspot-runtime-dev mailing list