--- a/src/hotspot/share/oops/oop.hpp Wed Oct 24 14:59:21 2018 +0200
+++ b/src/hotspot/share/oops/oop.hpp Wed Oct 24 16:22:34 2018 +0200
@@ -273,7 +273,7 @@
// Exactly one thread succeeds in inserting the forwarding pointer, and
// this call returns "NULL" for that thread; any other thread has the
// value of the forwarding pointer returned and does not modify "this".
- inline oop forward_to_atomic(oop p, atomic_memory_order order = memory_order_conservative);
+ inline oop forward_to_atomic(oop p, markOop compare, atomic_memory_order order = memory_order_conservative);
inline oop forwardee() const;
inline oop forwardee_acquire() const;