Skip to content

Update Java flags page #824

Open

Description

@kennytv

To make it up to date with modern Java versions and the current state of Paper/Minecraft, it should

  • be rebranded to more clearly be Paper's recommended startup flags for the backend server (not Velocity, not clients or whatever), saying they're aimed at Java 25 but work for others (mainly newer ones) as well
  • remove the metric/blog link at the end
  • add -XX:+UseCompactObjectHeaders
  • remove ParallelRefProcEnabled as it produces warnings in newer Java versions and will be removed
  • remove G1HeapWastePercent and MaxGCPauseMillis since Java has the same default values now

Activity

  1. electronicboy commented on Oct 27, 2026

    @electronicboy
    Member

    with modern JVMs I generally suggest just skipping most of the flags as the JVM is adoptive enough to not really be an issue these days

  2. linked a pull request that will close this issueUpdate Aikar's flags in StartScriptGenerator #828on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions