RFR: 8369238: Allow virtual thread preemption on some common class initialization paths [v14]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Nov 4 22:41:20 UTC 2025


On Tue, 4 Nov 2025 21:23:06 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

>> test/hotspot/jtreg/serviceability/jvmti/vthread/SingleStepKlassInit/libSingleStepKlassInit.cpp line 38:
>> 
>>> 36: SingleStep(jvmtiEnv *jvmti, JNIEnv* jni, jthread thread,
>>> 37:            jmethodID method, jlocation location) {
>>> 38: }
>> 
>> Q: Would it make sense to verify that `SingleStep` events are posted or not?
>
> Good idea, I added a check for it. Let me know if that works.

Thanks! It is good.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27802#discussion_r2492228658


More information about the hotspot-dev mailing list