Release Note: Deprecate the `AlwaysActAsServerClassMachine` and `NeverActAsServerClassMachine` Flags

XMLWordPrintable

    • gc

      The `AlwaysActAsServerClassMachine` and `NeverActAsServerClassMachine` flags are used to influence two separate behaviors: 1) which GC is chosen by default, and 2) to influence whether client emulation mode is selected. Both flags have been marked as deprecated with the intent to be obsoleted and removed in future releases.

      Users who rely on a specific GC being chosen through the `AlwaysActAsServerClassMachine` and `NeverActAsServerClassMachine` flags should instead explicitly configure the GC they want, for example by using `-XX:+UseSerialGC` or `-XX:+UseG1GC`.

      Client emulation mode was used to emulate a client build on platforms with reduced virtual address space, mainly Windows 32-bit (see JDK-8166002). With Windows 32-bit being deprecated in JDK 24 (see [JEP 479](https://openjdk.org/jeps/479)), the incentive for maintaining the client emulation mode feature is gone, and thus also the method to influence whether it is enabled is no longer needed.

      When the flags are obsoleted and removed, users will no longer be able to influence whether client emulation mode is enabled via the `NeverActAsServerClassMachine` flag.

            Assignee:
            Joel Sikström
            Reporter:
            Joel Sikström
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: