On Tue, 4 Nov 2025 01:07:28 GMT, Sergey Bylokhov <[email protected]> wrote:

> > When introducing new compiler flags, you need to do one of:
> 
> Just an idea to think about: would it be possible to share the same variable 
> between the JDK and HotSpot to store these parameters? Even in this 
> discussion, it would highlight that these parameters are not new. Or is it 
> not worth the effort?


For the HS build, we set them directly in the makefile and not in the configure 
m4 files, see
https://github.com/openjdk/jdk/blob/e4aed95cac343f1339b9bc87721561bdc4c2f5ad/make/hotspot/lib/JvmFeatures.gmk#L179
Might indeed make sense to refactor this.

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

PR Comment: https://git.openjdk.org/jdk/pull/27976#issuecomment-3484828679

Reply via email to