RFR: 8368938: ObjectWaiter::badObjectWaiterPtr could be static [v2]

Francesco Andreuzzi fandreuzzi at openjdk.org
Tue Sep 30 11:33:23 UTC 2025


> There's apparently no reason against having the symbol shared for all instances. This saves a byte from the memory footprint of `ObjectWaiter`.
> 
> Passes tier1 and tier2 (fastdebug).

Francesco Andreuzzi has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - nn
 - Merge branch 'master' into JDK-8368938
 - make static

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27571/files
  - new: https://git.openjdk.org/jdk/pull/27571/files/39b6c46e..7bb52de6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27571&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27571&range=00-01

  Stats: 1445 lines in 68 files changed: 575 ins; 176 del; 694 mod
  Patch: https://git.openjdk.org/jdk/pull/27571.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27571/head:pull/27571

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


More information about the hotspot-runtime-dev mailing list