< prev index next >

src/hotspot/share/oops/oop.cpp

Print this page

  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  *
 23  */
 24 
 25 #include "precompiled.hpp"

 26 #include "cds/cdsConfig.hpp"
 27 #include "classfile/altHashing.hpp"
 28 #include "classfile/javaClasses.inline.hpp"
 29 #include "gc/shared/collectedHeap.inline.hpp"
 30 #include "gc/shared/gc_globals.hpp"
 31 #include "memory/resourceArea.hpp"
 32 #include "memory/universe.hpp"
 33 #include "oops/access.inline.hpp"
 34 #include "oops/compressedKlass.inline.hpp"
 35 #include "oops/compressedOops.inline.hpp"
 36 #include "oops/oop.inline.hpp"
 37 #include "oops/verifyOopClosure.hpp"
 38 #include "runtime/handles.inline.hpp"
 39 #include "runtime/javaThread.hpp"
 40 #include "runtime/synchronizer.hpp"
 41 #include "utilities/macros.hpp"
 42 
 43 void oopDesc::print_on(outputStream* st) const {
 44   if (*((juint*)this) == badHeapWordVal) {
 45     st->print_cr("BAD WORD");

  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  *
 23  */
 24 
 25 #include "precompiled.hpp"
 26 #include "cds/cds_globals.hpp"
 27 #include "cds/cdsConfig.hpp"
 28 #include "classfile/altHashing.hpp"
 29 #include "classfile/javaClasses.inline.hpp"
 30 #include "gc/shared/collectedHeap.inline.hpp"
 31 #include "gc/shared/gc_globals.hpp"
 32 #include "memory/resourceArea.hpp"
 33 #include "memory/universe.hpp"
 34 #include "oops/access.inline.hpp"
 35 #include "oops/compressedKlass.inline.hpp"
 36 #include "oops/compressedOops.inline.hpp"
 37 #include "oops/oop.inline.hpp"
 38 #include "oops/verifyOopClosure.hpp"
 39 #include "runtime/handles.inline.hpp"
 40 #include "runtime/javaThread.hpp"
 41 #include "runtime/synchronizer.hpp"
 42 #include "utilities/macros.hpp"
 43 
 44 void oopDesc::print_on(outputStream* st) const {
 45   if (*((juint*)this) == badHeapWordVal) {
 46     st->print_cr("BAD WORD");
< prev index next >