RFR 8201799: Build failures after JDK-8195099 (Concurrent safe-memory-reclamation mechanism) (original) (raw)

David Holmes david.holmes at oracle.com
Wed Apr 18 12:27:27 UTC 2018


Hi Aleksey,

On 18/04/2018 9:50 PM, Aleksey Shipilev wrote:

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

Fix: diff -r bfba4712d4ff src/hotspot/share/utilities/globalCounter.inline.hpp --- a/src/hotspot/share/utilities/globalCounter.inline.hpp Wed Apr 18 11:36:48 2018 +0200 +++ b/src/hotspot/share/utilities/globalCounter.inline.hpp Wed Apr 18 13:50:34 2018 +0200 @@ -27,6 +27,7 @@ #include "runtime/orderAccess.inline.hpp" #include "runtime/thread.hpp"

The above line can be deleted now.

+#include "runtime/thread.inline.hpp"

Fix is good.

Thanks, David

#include "utilities/globalCounter.hpp"

inline void GlobalCounter::criticalsectionbegin(Thread *thread) { Testing: failing aarch64 build Thanks, -Aleksey



More information about the hotspot-dev mailing list