Skip to content

Commit

Permalink
Merge pull request eclipse-openj9#21298 from amicic/offheap_enabled
Browse files Browse the repository at this point in the history
Enable offheap on X and P
  • Loading branch information
dmitripivkine authored Mar 6, 2025
2 parents 754bf6e + 7ecfbd1 commit 430b651
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtime/gc_vlhgc/ConfigurationIncrementalGenerational.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ MM_ConfigurationIncrementalGenerational::createHeapWithManager(MM_EnvironmentBas
return NULL;
}
#if defined(J9VM_GC_SPARSE_HEAP_ALLOCATION)
/* set off-heap disabled as default for balanced GC */
extensions->isVirtualLargeObjectHeapEnabled = false;
#if defined(J9HAMMER) || defined(PPC64)
/* Set off-heap enabled as default for balanced GC */
extensions->isVirtualLargeObjectHeapEnabled = true;
#endif /* defined(J9HAMMER) || defined(PPC64) */

if (extensions->virtualLargeObjectHeap._wasSpecified) {
extensions->isVirtualLargeObjectHeapEnabled = extensions->virtualLargeObjectHeap._valueSpecified;
Expand Down

0 comments on commit 430b651

Please sign in to comment.