RFR: 8347396: Efficient TypeFunc creations [v3]

Dean Long dlong at openjdk.org
Mon Dec 8 21:31:05 UTC 2025


On Wed, 3 Dec 2025 08:37:02 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 five additional commits since the last revision:
> 
>  - add guard to the include
>  - add load_reference_barrier_Type
>  - add clone_barrier_Type
>  - add write_barrier_pre_Type
>  - revert shenandoah changes

Why are you trying to #include a .cpp file?  Just let the linker handle it.  You didn't need that for shenandoahBarrierSetC2.cpp, so what makes barrierSetC2.cpp special?

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

PR Comment: https://git.openjdk.org/jdk/pull/27279#issuecomment-3629077478


More information about the shenandoah-dev mailing list