src/share/vm/ci/ciCPCache.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6893268 Sdiff src/share/vm/ci

src/share/vm/ci/ciCPCache.cpp

Print this page
rev 1025 : imported patch indy.compiler.patch
rev 1026 : imported patch indy.compiler.inline.patch


  22  *
  23  */
  24 
  25 #include "incls/_precompiled.incl"
  26 #include "incls/_ciCPCache.cpp.incl"
  27 
  28 // ciCPCache
  29 
  30 // ------------------------------------------------------------------
  31 // ciCPCache::get_f1_offset
  32 size_t ciCPCache::get_f1_offset(int index) {
  33   // Calculate the offset from the constantPoolCacheOop to the f1
  34   // field.
  35   ByteSize f1_offset =
  36     constantPoolCacheOopDesc::entry_offset(index) +
  37     ConstantPoolCacheEntry::f1_offset();
  38 
  39   return in_bytes(f1_offset);
  40 }
  41 

  42 // ------------------------------------------------------------------
  43 // ciCPCache::print
  44 //
  45 // Print debugging information about the cache.
  46 void ciCPCache::print() {
  47   Unimplemented();
  48 }


  22  *
  23  */
  24 
  25 #include "incls/_precompiled.incl"
  26 #include "incls/_ciCPCache.cpp.incl"
  27 
  28 // ciCPCache
  29 
  30 // ------------------------------------------------------------------
  31 // ciCPCache::get_f1_offset
  32 size_t ciCPCache::get_f1_offset(int index) {
  33   // Calculate the offset from the constantPoolCacheOop to the f1
  34   // field.
  35   ByteSize f1_offset =
  36     constantPoolCacheOopDesc::entry_offset(index) +
  37     ConstantPoolCacheEntry::f1_offset();
  38 
  39   return in_bytes(f1_offset);
  40 }
  41 
  42 
  43 // ------------------------------------------------------------------
  44 // ciCPCache::print
  45 //
  46 // Print debugging information about the cache.
  47 void ciCPCache::print() {
  48   Unimplemented();
  49 }
src/share/vm/ci/ciCPCache.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File