changeset 53255:0c0cafdaad34 cont

Allow building with ShenandoahGC Contributed-by: ashipile@redhat.com
author alanb
date Sun, 30 Dec 2018 08:13:42 +0000
parents fa7ffa18e4b2
children 69489b45d379 a8fab0f44f6c
files src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Thu Dec 20 12:49:56 2018 +0000
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Sun Dec 30 08:13:42 2018 +0000
@@ -778,8 +778,8 @@
     _initializer(initializer) {}
 
 protected:
-  virtual HeapWord* mem_allocate(Allocation& allocation) const {
-    HeapWord* result = MemAllocator::mem_allocate(allocation);
+  virtual HeapWord* mem_allocate(Allocation& allocation, bool try_tlab) const {
+    HeapWord* result = MemAllocator::mem_allocate(allocation, try_tlab);
     // Initialize brooks-pointer
     if (result != NULL) {
       result += ShenandoahBrooksPointer::word_size();