RFR [URGENT] (XS) 8217419: Shenandoah fails to build after JDK-8212826 (Make PtrQueue free list lock-free)

Aleksey Shipilev shade at redhat.com
Sun Jan 20 09:10:34 UTC 2019


Bug:
  https://bugs.openjdk.java.net/browse/JDK-8217419

Fix:

diff -r 9ff1e6cacac3 src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp    Sat Jan 19 19:50:01 2019 -0500
+++ b/src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp    Sun Jan 20 10:06:16 2019 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Red Hat, Inc. All rights reserved.
+ * Copyright (c) 2018, 2019, Red Hat, Inc. All rights reserved.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
@@ -29,7 +29,7 @@

 ShenandoahSATBMarkQueueSet::ShenandoahSATBMarkQueueSet() :
   _heap(NULL),
-  _satb_mark_queue_buffer_allocator(ShenandoahSATBBufferSize, SATB_Q_FL_lock)
+  _satb_mark_queue_buffer_allocator("SATB Buffer Allocator", ShenandoahSATBBufferSize)
 {}

 void ShenandoahSATBMarkQueueSet::initialize(ShenandoahHeap* const heap,


Testing: Linux x86_64 build, hotspot_gc_shenandoah

Thanks,
-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20190120/8e4b580b/signature.asc>


More information about the hotspot-gc-dev mailing list