< prev index next >

src/share/vm/opto/buildOopMap.cpp

Print this page




  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 "compiler/oopMap.hpp"
  27 #include "opto/addnode.hpp"
  28 #include "opto/callnode.hpp"
  29 #include "opto/compile.hpp"
  30 #include "opto/machnode.hpp"
  31 #include "opto/matcher.hpp"
  32 #include "opto/phase.hpp"
  33 #include "opto/regalloc.hpp"
  34 #include "opto/rootnode.hpp"
  35 #ifdef TARGET_ARCH_x86
  36 # include "vmreg_x86.inline.hpp"
  37 #endif



  38 #ifdef TARGET_ARCH_sparc
  39 # include "vmreg_sparc.inline.hpp"
  40 #endif
  41 #ifdef TARGET_ARCH_zero
  42 # include "vmreg_zero.inline.hpp"
  43 #endif
  44 #ifdef TARGET_ARCH_arm
  45 # include "vmreg_arm.inline.hpp"
  46 #endif
  47 #ifdef TARGET_ARCH_ppc
  48 # include "vmreg_ppc.inline.hpp"
  49 #endif
  50 
  51 // The functions in this file builds OopMaps after all scheduling is done.
  52 //
  53 // OopMaps contain a list of all registers and stack-slots containing oops (so
  54 // they can be updated by GC).  OopMaps also contain a list of derived-pointer
  55 // base-pointer pairs.  When the base is moved, the derived pointer moves to
  56 // follow it.  Finally, any registers holding callee-save values are also
  57 // recorded.  These might contain oops, but only the caller knows.




  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 "compiler/oopMap.hpp"
  27 #include "opto/addnode.hpp"
  28 #include "opto/callnode.hpp"
  29 #include "opto/compile.hpp"
  30 #include "opto/machnode.hpp"
  31 #include "opto/matcher.hpp"
  32 #include "opto/phase.hpp"
  33 #include "opto/regalloc.hpp"
  34 #include "opto/rootnode.hpp"
  35 #ifdef TARGET_ARCH_x86
  36 # include "vmreg_x86.inline.hpp"
  37 #endif
  38 #ifdef TARGET_ARCH_aarch64
  39 # include "vmreg_aarch64.inline.hpp"
  40 #endif
  41 #ifdef TARGET_ARCH_sparc
  42 # include "vmreg_sparc.inline.hpp"
  43 #endif
  44 #ifdef TARGET_ARCH_zero
  45 # include "vmreg_zero.inline.hpp"
  46 #endif
  47 #ifdef TARGET_ARCH_arm
  48 # include "vmreg_arm.inline.hpp"
  49 #endif
  50 #ifdef TARGET_ARCH_ppc
  51 # include "vmreg_ppc.inline.hpp"
  52 #endif
  53 
  54 // The functions in this file builds OopMaps after all scheduling is done.
  55 //
  56 // OopMaps contain a list of all registers and stack-slots containing oops (so
  57 // they can be updated by GC).  OopMaps also contain a list of derived-pointer
  58 // base-pointer pairs.  When the base is moved, the derived pointer moves to
  59 // follow it.  Finally, any registers holding callee-save values are also
  60 // recorded.  These might contain oops, but only the caller knows.


< prev index next >