RFR: 8347396: Efficient TypeFunc creations [v4]
Kim Barrett
kbarrett at openjdk.org
Tue Jan 13 14:25:58 UTC 2026
On Thu, 8 Jan 2026 04:46:41 GMT, Harshit470250 <duke at openjdk.org> wrote:
>> 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 three additional commits since the last revision:
>
> - move make_clone to barrierSetC2
> - move make_clone to barrier_stubc2.hpp
> - move clone_type
src/hotspot/share/opto/type.cpp line 33:
> 31: #if INCLUDE_SHENANDOAHGC
> 32: #include "gc/shenandoah/c2/shenandoahBarrierSetC2.hpp"
> 33: #endif // INCLUDE_SHENANDOAHGC
Conditional includes go at the end:
https://github.com/openjdk/jdk/blame/49f7265894652ea243f3a531cf3f9d0b06e53565/doc/hotspot-style.md#L159-L161
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27279#discussion_r2686645613
More information about the shenandoah-dev
mailing list