Skip to content

Commit

Permalink
Merge pull request #3070 from 0dvictor/cs
Browse files Browse the repository at this point in the history
Enable Concurrent Scavenge on X86-64 compressedrefs
  • Loading branch information
dmitripivkine committed Oct 12, 2018
2 parents 1bda20b + 679937e commit 338a312
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions runtime/gc_modron_startup/mminit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2853,6 +2853,9 @@ gcInitializeDefaults(J9JavaVM* vm)
if (gc_policy_gencon == extensions->configurationOptions._gcPolicy) {
/* after we parsed cmd line options, check if we can obey the request to run CS (valid for Gencon only) */
if (extensions->concurrentScavengerForced) {
#if defined(J9VM_ARCH_X86)
extensions->softwareEvacuateReadBarrier = true;
#endif /* J9VM_ARCH_X86 */
if (LOADED == (FIND_DLL_TABLE_ENTRY(J9_JIT_DLL_NAME)->loadFlags & LOADED)) {
/* If running jitted, it must be on supported h/w */
J9ProcessorDesc processorDesc;
Expand Down
3 changes: 0 additions & 3 deletions runtime/gc_modron_startup/mmparseXXgc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -792,10 +792,7 @@ gcParseXXgcArguments(J9JavaVM *vm, char *optArg)
continue;
}
if(try_scan(&scan_start, "softwareEvacuateReadBarrier")) {
/* Software read barriers are only implemented on s390 for now */
#if defined(S390) || defined(J9ZOS390)
extensions->softwareEvacuateReadBarrier = true;
#endif /* defined(S390) || defined(J9ZOS390) */
continue;
}
#endif /* defined(OMR_GC_CONCURRENT_SCAVENGER) */
Expand Down

0 comments on commit 338a312

Please sign in to comment.