On Thu, 23 Oct 2025 22:29:04 GMT, Patricio Chilano Mateo <[email protected]> wrote:
>> Would an initialize_preemptable() = 0 be better? then you can see if it's >> called by anything other than InstanceKlass. Klass is always abstract. > > We can but we would have to implement it for `ArrayKlass` too which is kind > of the same of what we have now. We have a `ShouldNotReachHere()` in > `Klass::initialize_preemptable` (following the same pattern as > `Klass::initialize`), so we will catch anything other than `InstanceKlass`. I guess following the pattern is better. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/27802#discussion_r2460745900
