Skip to content

Commit

Permalink
Merge pull request #18109 from dmitripivkine/master
Browse files Browse the repository at this point in the history
Ignore -Xgc:enableArrayletDoubleMapping silently
  • Loading branch information
amicic committed Sep 11, 2023
2 parents 12d5738 + 73d61cb commit 5c84d87
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions runtime/gc_modron_startup/mmparseXgc.cpp
Expand Up @@ -1465,16 +1465,23 @@ gcParseXgcArguments(J9JavaVM *vm, char *optArg)
continue;
}

#if defined(J9VM_GC_ENABLE_DOUBLE_MAP)
/*
* This feature is not supported for all platforms.
* Ignore options silently if feature is not supported
* to allow to use the same Java command line across platforms.
*/
if (try_scan(&scan_start, "enableArrayletDoubleMapping")) {
#if defined(J9VM_GC_ENABLE_DOUBLE_MAP)
extensions->isArrayletDoubleMapRequested = true;
#endif /* defined(J9VM_GC_ENABLE_DOUBLE_MAP) */
continue;
}
if (try_scan(&scan_start, "disableArrayletDoubleMapping")) {
#if defined(J9VM_GC_ENABLE_DOUBLE_MAP)
extensions->isArrayletDoubleMapRequested = false;
#endif /* defined(J9VM_GC_ENABLE_DOUBLE_MAP) */
continue;
}
#endif /* J9VM_GC_ENABLE_DOUBLE_MAP */

#if defined (J9VM_GC_VLHGC)
if (try_scan(&scan_start, "fvtest_tarokForceNUMANode=")) {
Expand Down

0 comments on commit 5c84d87

Please sign in to comment.