< prev index next >

src/hotspot/share/ci/ciObject.hpp

Print this page




  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 #ifndef SHARE_VM_CI_CIOBJECT_HPP
  26 #define SHARE_VM_CI_CIOBJECT_HPP
  27 
  28 #include "ci/ciBaseObject.hpp"
  29 #include "ci/ciClassList.hpp"
  30 #include "memory/allocation.hpp"
  31 #include "runtime/handles.hpp"
  32 #include "runtime/jniHandles.hpp"
  33 
  34 // ciObject
  35 //
  36 // This class represents an oop in the HotSpot virtual machine.
  37 // Its subclasses are structured in a hierarchy which mirrors
  38 // an aggregate of the VM's oop and klass hierarchies (see
  39 // oopHierarchy.hpp).  Each instance of ciObject holds a handle
  40 // to a corresponding oop on the VM side and provides routines
  41 // for accessing the information in its oop.  By using the ciObject
  42 // hierarchy for accessing oops in the VM, the compiler ensures
  43 // that it is safe with respect to garbage collection; that is,
  44 // GC and compilation can proceed independently without
  45 // interference.
  46 //
  47 // Within the VM, the oop and klass hierarchies are separate.
  48 // The compiler interface does not preserve this separation --
  49 // the distinction between `Klass*' and `Klass' are not
  50 // reflected in the interface and instead the Klass hierarchy




  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 #ifndef SHARE_VM_CI_CIOBJECT_HPP
  26 #define SHARE_VM_CI_CIOBJECT_HPP
  27 
  28 #include "ci/ciBaseObject.hpp"
  29 #include "ci/ciClassList.hpp"

  30 #include "runtime/handles.hpp"
  31 #include "runtime/jniHandles.hpp"
  32 
  33 // ciObject
  34 //
  35 // This class represents an oop in the HotSpot virtual machine.
  36 // Its subclasses are structured in a hierarchy which mirrors
  37 // an aggregate of the VM's oop and klass hierarchies (see
  38 // oopHierarchy.hpp).  Each instance of ciObject holds a handle
  39 // to a corresponding oop on the VM side and provides routines
  40 // for accessing the information in its oop.  By using the ciObject
  41 // hierarchy for accessing oops in the VM, the compiler ensures
  42 // that it is safe with respect to garbage collection; that is,
  43 // GC and compilation can proceed independently without
  44 // interference.
  45 //
  46 // Within the VM, the oop and klass hierarchies are separate.
  47 // The compiler interface does not preserve this separation --
  48 // the distinction between `Klass*' and `Klass' are not
  49 // reflected in the interface and instead the Klass hierarchy


< prev index next >