< prev index next >
src/hotspot/share/gc/shared/preservedMarks.inline.hpp
Print this page
rev 49290 : [mq]: JDK-8199735.01.patch
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* 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
* published by the Free Software Foundation.
@@ -44,11 +44,11 @@
push(obj, m);
}
}
inline void PreservedMarks::init_forwarded_mark(oop obj) {
- obj->init_mark();
+ obj->init_mark_raw();
}
inline void PreservedMarksSet::restore(RestorePreservedMarksTaskExecutor* executor) {
volatile size_t total_size = 0;
@@ -76,6 +76,10 @@
// no point in caching stack segments (there will be a
// waste of space most of the time). So we set the max
// cache size to 0.
0 /* max_cache_size */) { }
+void PreservedMarks::OopAndMarkOop::set_mark() const {
+ _o->set_mark_raw(_m);
+}
+
#endif // SHARE_VM_GC_SHARED_PRESERVEDMARKS_INLINE_HPP
< prev index next >