-
Notifications
You must be signed in to change notification settings - Fork 733
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 Xgc options for suballocator heap size and quick allocation #19872
Conversation
79b65b7
to
dbe4f2a
Compare
@babsingh this is the accompanying OpenJ9 patch for eclipse-omr/omr#7414 that needs to be coordinated with it. |
test/functional/cmdLineTests/gcsuballoctests/gcsuballocquickalloctest.xml
Outdated
Show resolved
Hide resolved
test/functional/cmdLineTests/gcsuballoctests/gcsuballocquickalloctest.xml
Outdated
Show resolved
Hide resolved
dbe4f2a
to
b28a92d
Compare
b28a92d
to
5763bff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
test/functional/cmdLineTests/gcsuballoctests/gcsuballoctests.xml
Outdated
Show resolved
Hide resolved
test/functional/cmdLineTests/gcsuballoctests/gcsuballoctests.xml
Outdated
Show resolved
Hide resolved
test/functional/cmdLineTests/gcsuballoctests/gcsuballoctests.xml
Outdated
Show resolved
Hide resolved
5763bff
to
6ad5d0e
Compare
test/functional/cmdLineTests/gcsuballoctests/gcsuballoctests.xml
Outdated
Show resolved
Hide resolved
test/functional/cmdLineTests/gcsuballoctests/gcsuballoctests.xml
Outdated
Show resolved
Hide resolved
13b4d57
to
1ab8d75
Compare
I think the OMR change can safely be merged without this, or did I miss something? |
4080a98
to
c84226e
Compare
The OMR patch has been merged. We can start the PR builds for this one too. |
-Xgc: options are documented. Would you please create doc item to add description for new options? |
The OMR changes also need to promote, but PR builds can depend on OMR #master. |
1. Use VMEM_ALLOC_QUICK by default for allocateRegion in allocate_memory32 2. Adds -Xgc:suballocatorQuickAllocDisable option that disables the default VMEM_ALLOC_QUICK 3. Adds -Xgc:suballocatorIncrementSize option that replaces the HEAP_SIZE_BYTES macro and controls the heap increment size 4. Adds sanity.functional tests Addresses: eclipse-omr/omr#7190 Signed-off-by: Nathan Henderson <[email protected]>
c84226e
to
8ef9f22
Compare
I've removed the ability to propagate the port globals from one port lib to another; we can just rely on default values now specified on the OMR side to ensure that the fyi @babsingh |
jenkins line endings check |
Seems like we should have a doc issue opened for this. |
jenkins test sanity zlinux,win jdk8,jdk21 depends eclipse-omr/omr#7472 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes LGTM. In the PR builds,
I saw three known issues:
- JDK8 java/util/logging/FileHandlerAccessTest.java - AssertionError at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167) #13223
- CriticalRegionTest testAcquireAndSleep_Threads1: not all threads completed before the timeout (0/1) #13684
- OpenJDK java/lang/Thread/virtual/Collectable.java timeout #18463
Two undocumented issues were seen:
- https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_x86-64_windows_Personal_testList_2/26:
PrimeTest
segfaulted while running a JIT'ed method,PrimeTest.createPrimes
. - https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Personal_testList_0/28:
MicroTime
failed withException: What? only 138 musec precision?
None of the above failures occur due to this PR's changes. @ThanHenderson Can you please open new issues to document the above two failures (PrimeTest
& MicroTime
)?
I will merge this PR once the latest OMR acceptance build promotes eclipse-omr/omr#7472: https://openj9-jenkins.osuosl.org/job/Pipeline-OMR-Acceptance.
I was just looking into those now too. I will open the new issues. |
Merging. eclipse-omr/omr#7472 has promoted i.e. the corresponding changes show in https://github.com/eclipse-openj9/openj9-omr/commits/openj9. |
Addresses: eclipse-omr/omr#7190
Signed-off-by: Nathan Henderson [email protected]
Depends on: eclipse-omr/omr#7472