RFR: 8358003: KlassTrainingData initializer reads garbage holder

Aleksey Shipilev shade at openjdk.org
Tue Jun 3 18:07:26 UTC 2025


On Tue, 3 Jun 2025 17:36:13 GMT, Igor Veresov <iveresov at openjdk.org> wrote:

> Simplify KlassTrainingData constructor. The lines in question come from the old pre-CDS world. They are not needed anymore.

Makes sense. I was dumbfounded what was "previous handle", when we are in constructor. I suspected it was something about placement-new code somewhere.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25623#pullrequestreview-2893523002


More information about the hotspot-dev mailing list