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

Patricio Chilano Mateo pchilanomate at openjdk.org
Tue Nov 4 21:28:15 UTC 2025


On Tue, 4 Nov 2025 21:10:03 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> I've reviewed the latest incremental SVC related update. It is good and nice to have in general. Thank you for adding the test!
>
Great, thanks for the review Serguei!

> 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.

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

PR Comment: https://git.openjdk.org/jdk/pull/27802#issuecomment-3488063416
PR Review Comment: https://git.openjdk.org/jdk/pull/27802#discussion_r2492084640


More information about the hotspot-dev mailing list