< prev index next >

src/hotspot/share/compiler/oopMap.cpp

Print this page




  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 "code/codeBlob.hpp"
  27 #include "code/codeCache.hpp"
  28 #include "code/nmethod.hpp"
  29 #include "code/scopeDesc.hpp"
  30 #include "compiler/oopMap.hpp"
  31 #include "gc/shared/collectedHeap.hpp"
  32 #include "memory/allocation.inline.hpp"
  33 #include "memory/iterator.hpp"
  34 #include "memory/resourceArea.hpp"
  35 #include "memory/universe.hpp"

  36 #include "oops/compressedOops.hpp"
  37 #include "runtime/frame.inline.hpp"
  38 #include "runtime/handles.inline.hpp"
  39 #include "runtime/signature.hpp"
  40 #include "utilities/align.hpp"
  41 #include "utilities/lockFreeStack.hpp"
  42 #ifdef COMPILER1
  43 #include "c1/c1_Defs.hpp"
  44 #endif
  45 #ifdef COMPILER2
  46 #include "opto/optoreg.hpp"
  47 #endif
  48 
  49 // OopMapStream
  50 
  51 OopMapStream::OopMapStream(OopMap* oop_map, int oop_types_mask) {
  52   _stream = new CompressedReadStream(oop_map->write_stream()->buffer());
  53   _mask = oop_types_mask;
  54   _size = oop_map->omv_count();
  55   _position = 0;




  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 "code/codeBlob.hpp"
  27 #include "code/codeCache.hpp"
  28 #include "code/nmethod.hpp"
  29 #include "code/scopeDesc.hpp"
  30 #include "compiler/oopMap.hpp"
  31 #include "gc/shared/collectedHeap.hpp"
  32 #include "memory/allocation.inline.hpp"
  33 #include "memory/iterator.hpp"
  34 #include "memory/resourceArea.hpp"
  35 #include "memory/universe.hpp"
  36 #include "oops/valueKlass.hpp"
  37 #include "oops/compressedOops.hpp"
  38 #include "runtime/frame.inline.hpp"
  39 #include "runtime/handles.inline.hpp"
  40 #include "runtime/signature.hpp"
  41 #include "utilities/align.hpp"
  42 #include "utilities/lockFreeStack.hpp"
  43 #ifdef COMPILER1
  44 #include "c1/c1_Defs.hpp"
  45 #endif
  46 #ifdef COMPILER2
  47 #include "opto/optoreg.hpp"
  48 #endif
  49 
  50 // OopMapStream
  51 
  52 OopMapStream::OopMapStream(OopMap* oop_map, int oop_types_mask) {
  53   _stream = new CompressedReadStream(oop_map->write_stream()->buffer());
  54   _mask = oop_types_mask;
  55   _size = oop_map->omv_count();
  56   _position = 0;


< prev index next >