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

Patricio Chilano Mateo pchilanomate at openjdk.org
Thu Oct 30 15:54:22 UTC 2025


On Thu, 30 Oct 2025 06:18:29 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> This is a safety check since a thread marked as preempted should not be making upcalls to Java. It should be bailing out from methods and returning to the VM entry point. I found we could get here from the exception path (from your other comment below) when there was no `NoPreemptMark` there.
>
> Okay then how about `"Unexpected Java upcall whilst processing preemption"` ?

Done.

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

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


More information about the hotspot-dev mailing list