RFR: 8358003: KlassTrainingData initializer reads garbage holder [v2]

Coleen Phillimore coleenp at openjdk.org
Wed Jun 4 11:36:21 UTC 2025


On Wed, 4 Jun 2025 00:53:56 GMT, Igor Veresov <iveresov at openjdk.org> wrote:

>> Are there any advantages?
>
> Ok, transitioned to OopStrage. Please take a look if correctly. I'll be back when the testing is done.

The advantage of OopStorage is that jni handles aren't trusted because they come from outside jni calls so have some safefetch code, but OopStorage are trusted so presumably faster.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25623#discussion_r2126372510


More information about the hotspot-dev mailing list