equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 #ifndef SHARE_VM_OOPS_MARKOOP_INLINE_HPP |
25 #ifndef SHARE_VM_OOPS_MARKOOP_INLINE_HPP |
26 #define SHARE_VM_OOPS_MARKOOP_INLINE_HPP |
26 #define SHARE_VM_OOPS_MARKOOP_INLINE_HPP |
27 |
27 |
28 #include "oops/klass.hpp" |
28 #include "oops/klass.hpp" |
29 #include "oops/markOop.hpp" |
29 #include "oops/markOop.hpp" |
|
30 #include "oops/oop.inline.hpp" |
30 #include "runtime/globals.hpp" |
31 #include "runtime/globals.hpp" |
31 |
32 |
32 // Should this header be preserved during GC (when biased locking is enabled)? |
33 // Should this header be preserved during GC (when biased locking is enabled)? |
33 inline bool markOopDesc::must_be_preserved_with_bias(oop obj_containing_mark) const { |
34 inline bool markOopDesc::must_be_preserved_with_bias(oop obj_containing_mark) const { |
34 assert(UseBiasedLocking, "unexpected"); |
35 assert(UseBiasedLocking, "unexpected"); |