RFR: 8370843: Deprecate AlwaysActAsServerClassMachine and NeverActAsServerClassMachine

Joel Sikström jsikstro at openjdk.org
Fri Nov 7 08:49:02 UTC 2025


On Wed, 5 Nov 2025 15:49:58 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> @jsikstro do we have any test which use these flags?

Yes, the following test use one or both of the `AlwaysActAsServerClassMachine` and `NeverActAsServerClassMachine` flags. I've run them all locally to see that they are not affected by the deprecation warning that is printed when using the flag after this patch.

test/hotspot/jtreg/gc/arguments/TestSelectDefaultGC.java
test/jdk/jdk/jfr/event/compiler/TestCompilerPhase.java
test/hotspot/gtest/runtime/test_globals.cpp


I didn't mention in the PR summary, but I've also run tier1-2 for sanity.

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

PR Comment: https://git.openjdk.org/jdk/pull/28148#issuecomment-3501335945


More information about the hotspot-dev mailing list