< prev index next > test/hotspot/gtest/gc/shared/test_preservedMarks.cpp
Print this page
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#include "precompiled.hpp"
+ #include "gc/shared/gc_globals.hpp"
#include "gc/shared/preservedMarks.inline.hpp"
#include "oops/oop.inline.hpp"
#include "unittest.hpp"
class ScopedDisabledBiasedLocking {
FakeOop o1;
FakeOop o2;
FakeOop o3;
FakeOop o4;
+ FlagSetting fs(UseAltGCForwarding, false);
+
// Make sure initial marks are correct.
ASSERT_MARK_WORD_EQ(o1.mark(), FakeOop::originalMark());
ASSERT_MARK_WORD_EQ(o2.mark(), FakeOop::originalMark());
ASSERT_MARK_WORD_EQ(o3.mark(), FakeOop::originalMark());
ASSERT_MARK_WORD_EQ(o4.mark(), FakeOop::originalMark());
< prev index next >