RFR: 8358205: Remove unused JFR array allocation code

Markus Grönlund mgronlun at openjdk.org
Mon Jun 2 10:21:50 UTC 2025


On Fri, 30 May 2025 18:10:07 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> The JFR code is using ObjArray->allocate() directly rather than going through oopFactory.  In Valhalla, the oopFactory code is being changed to account for new array shapes and attributes, so all code should call that instead.  Turns out this function is unused, so this change removes it.  Tested with tier1-7 with a ShouldNotReachHere(), then jdk/jfr tests with the removal.

Marked as reviewed by mgronlun (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25553#pullrequestreview-2887708018


More information about the hotspot-dev mailing list