< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp

Print this page
rev 53870 : imported patch shade-shenandoah-ptrqueue

*** 178,190 **** // The call below uses stuff (the SATB* things) that are in G1, but probably // belong into a shared location. ShenandoahBarrierSet::satb_mark_queue_set().initialize(this, SATB_Q_CBL_mon, ! 20 /*G1SATBProcessCompletedThreshold */, ! 60 /* G1SATBBufferEnqueueingThresholdPercent */, ! Shared_SATB_Q_lock); // Reserve space for prev and next bitmap. size_t bitmap_page_size = UseLargePages ? (size_t)os::large_page_size() : (size_t)os::vm_page_size(); _bitmap_size = MarkBitMap::compute_size(heap_rs.size()); _bitmap_size = align_up(_bitmap_size, bitmap_page_size); --- 178,189 ---- // The call below uses stuff (the SATB* things) that are in G1, but probably // belong into a shared location. ShenandoahBarrierSet::satb_mark_queue_set().initialize(this, SATB_Q_CBL_mon, ! 20 /* G1SATBProcessCompletedThreshold */, ! 60 /* G1SATBBufferEnqueueingThresholdPercent */); // Reserve space for prev and next bitmap. size_t bitmap_page_size = UseLargePages ? (size_t)os::large_page_size() : (size_t)os::vm_page_size(); _bitmap_size = MarkBitMap::compute_size(heap_rs.size()); _bitmap_size = align_up(_bitmap_size, bitmap_page_size);
< prev index next >