hotspot/src/share/vm/oops/oopsHierarchy.hpp
changeset 19319 0ad35be0733a
parent 13952 e3cf184080bc
child 20282 7f9cbdf89af2
equal deleted inserted replaced
19318:7425be18f6f4 19319:0ad35be0733a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2013, 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.
    31 // OBJECT hierarchy
    31 // OBJECT hierarchy
    32 // This hierarchy is a representation hierarchy, i.e. if A is a superclass
    32 // This hierarchy is a representation hierarchy, i.e. if A is a superclass
    33 // of B, A's representation is a prefix of B's representation.
    33 // of B, A's representation is a prefix of B's representation.
    34 
    34 
    35 typedef juint narrowOop; // Offset instead of address for an oop within a java object
    35 typedef juint narrowOop; // Offset instead of address for an oop within a java object
       
    36 
       
    37 // If compressed klass pointers then use narrowKlass.
       
    38 typedef juint  narrowKlass;
       
    39 
    36 typedef void* OopOrNarrowOopStar;
    40 typedef void* OopOrNarrowOopStar;
    37 typedef class   markOopDesc*                markOop;
    41 typedef class   markOopDesc*                markOop;
    38 
    42 
    39 #ifndef CHECK_UNHANDLED_OOPS
    43 #ifndef CHECK_UNHANDLED_OOPS
    40 
    44