< prev index next >

src/hotspot/share/ci/ciObject.cpp

Print this page




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




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


< prev index next >