RFR: 8347396: Efficient TypeFunc creations [v6]

Harshit470250 duke at openjdk.org
Tue Feb 3 09:01:19 UTC 2026


> This PR do similar changes done by [JDK-8330851](https://bugs.openjdk.org/browse/JDK-8330851) on the GC TypeFunc creation as suggested by [JDK-8347396](https://bugs.openjdk.org/browse/JDK-8347396). As discussed in [https://github.com/openjdk/jdk/pull/21782#discussion_r1906535686,](https://github.com/openjdk/jdk/pull/21782#discussion_r1906535686) I have put guard on the shenandoah gc specific part of the code.

Harshit470250 has updated the pull request incrementally with four additional commits since the last revision:

 - remove import of barrierSetC2 from runtime
 - make shenandoah types private
 - move _clone_type_Type to BarrierSetC2
 - remove whitespace

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27279/files
  - new: https://git.openjdk.org/jdk/pull/27279/files/6a02f24e..a4302cba

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27279&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27279&range=04-05

  Stats: 29 lines in 6 files changed: 14 ins; 10 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/27279.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27279/head:pull/27279

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


More information about the hotspot-dev mailing list