Integrated: 8358205: Remove unused JFR array allocation code

Coleen Phillimore coleenp at openjdk.org
Mon Jun 2 11:54:00 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.

This pull request has now been integrated.

Changeset: c22af0c2
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c22af0c29ea89857c5cf57dd127b5c739130b2f1
Stats:     50 lines in 5 files changed: 0 ins; 45 del; 5 mod

8358205: Remove unused JFR array allocation code

Reviewed-by: kbarrett, mgronlun

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

PR: https://git.openjdk.org/jdk/pull/25553


More information about the hotspot-jfr-dev mailing list