Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for -Xgc suballocator options #1418

Closed
ThanHenderson opened this issue Sep 26, 2024 · 3 comments · Fixed by #1465
Closed

Add documentation for -Xgc suballocator options #1418

ThanHenderson opened this issue Sep 26, 2024 · 3 comments · Fixed by #1465
Assignees

Comments

@ThanHenderson
Copy link

Issue or pull request number:
eclipse-openj9/openj9#19872

Overview:
eclipse-openj9/openj9#19872 add -Xgc options:

  • suballocatorIncrementSize
  • suballocatorQuickAllocEnable
  • suballocatorQuickAllocDisable

We should document:

  • suballocatorInitialSize
  • suballocatorIncrementSize
  • suballocatorCommitSize
  • suballocatorQuickAllocEnable
  • suballocatorQuickAllocDisable

Release target:
Eclipse OpenJ9 0.49.0

Applies to the following JDK versions:
All

Applies to the following platforms:
All

For new command line options:

  • Option name and syntax: -Xgc:suballocatorInitialSize=<bytes>
  • If values are set:
    • Units for setting: bytes
    • Range: Positive non-zero integer
    • Default value: 200 MB
  • Purpose: Sets the initial size of the heap used for compressed references.

  • Option name and syntax: -Xgc:suballocatorIncrementSize=<bytes>
  • If values are set:
    • Units for setting: bytes
    • Range: Positive non-zero integer
    • Default value: 8 MB for all platforms except AIX (256 MB)
  • Purpose: Sets the reservation increment size of the heap used for compressed references.

  • Option name and syntax: -Xgc:suballocatorCommitSize=<bytes>
  • If values are set:
    • Units for setting: bytes
    • Range: Positive non-zero integer
    • Default value: 50 MB
  • Purpose: Sets the commit size of the heap used for compressed references.

  • Option name and syntax: -Xgc:suballocatorQuickAllocEnable
  • Purpose: Enables mmap-based allocation for compressed references (affects Linux only).

  • Option name and syntax: -Xgc:suballocatorQuickAllocDisable
  • Purpose: Disables mmap-based allocation for compressed references (affects Linux only).
@ThanHenderson ThanHenderson self-assigned this Sep 26, 2024
@ThanHenderson
Copy link
Author

PR: #1417

@Sreekala-Gopakumar
Copy link
Contributor

Sreekala-Gopakumar commented Dec 20, 2024

Option name and syntax: -Xgc:suballocatorQuickAllocDisable
Purpose: Disables mmap-based allocation for compressed references (affects Linux only).

@ThanHenderson - Is there any similar option that enables or disables mmap-based allocation in other platforms? Is mmap-based allocation applicable only for Linux? Thanks!

@ThanHenderson
Copy link
Author

Is there any similar option that enables or disables mmap-based allocation in other platforms?

The options are generic in that they can be passed in on other platforms, but the mmap-based allocation is only applicable on Linux and thus will only have an affect on Linux builds. On non-Linux builds it is effectively a no-op.

Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 2, 2025
eclipse-openj9#1418

Added new `-Xgc` options in the related topics.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 2, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 2, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 2, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 2, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics. Incorporated the review feedback.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 8, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics. Incorporated the review feedback.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 8, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics. Incorporated the review feedback.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 8, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics. Incorporated the review feedback.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 9, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics. Incorporated the review feedback.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sreekala-Gopakumar added a commit to Sreekala-Gopakumar/openj9-docs that referenced this issue Jan 9, 2025
eclipse-openj9#1418

Added new `-Xgc` suballocator options in related topics. Incorporated the review feedback.

Closes eclipse-openj9#1418
Signed-off-by: Sreekala Gopakumar [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment