8072911: Remove includes of oop.inline.hpp from .hpp files

Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
This commit is contained in:
Stefan Karlsson 2015-02-13 14:37:35 +01:00
parent c132a5a0a5
commit 4913ad5d7d
119 changed files with 451 additions and 264 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2015, 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
@ -71,11 +71,6 @@ inline Klass* oopDesc::klass_or_null() const volatile {
}
}
inline int oopDesc::klass_gap_offset_in_bytes() {
assert(UseCompressedClassPointers, "only applicable to compressed klass pointers");
return oopDesc::klass_offset_in_bytes() + sizeof(narrowKlass);
}
inline Klass** oopDesc::klass_addr() {
// Only used internally and with CMS and will not work with
// UseCompressedOops
@ -602,8 +597,11 @@ inline void oopDesc::follow_contents(void) {
klass()->oop_follow_contents(this);
}
// Used by scavengers
inline bool oopDesc::is_scavengable() const {
return Universe::heap()->is_scavengable(this);
}
// Used by scavengers
inline bool oopDesc::is_forwarded() const {
// The extra heap check is needed since the obj might be locked, in which case the
// mark would point to a stack location and have the sentinel bit cleared