< prev index next >

src/cpu/sparc/vm/c1_Runtime1_sparc.cpp

Print this page
rev 8362 : 8079792: GC directory structure cleanup
Reviewed-by:


  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 "c1/c1_Defs.hpp"
  27 #include "c1/c1_MacroAssembler.hpp"
  28 #include "c1/c1_Runtime1.hpp"
  29 #include "interpreter/interpreter.hpp"
  30 #include "nativeInst_sparc.hpp"
  31 #include "oops/compiledICHolder.hpp"
  32 #include "oops/oop.inline.hpp"
  33 #include "prims/jvmtiExport.hpp"
  34 #include "runtime/sharedRuntime.hpp"
  35 #include "runtime/signature.hpp"
  36 #include "runtime/vframeArray.hpp"
  37 #include "utilities/macros.hpp"
  38 #include "vmreg_sparc.inline.hpp"
  39 #if INCLUDE_ALL_GCS
  40 #include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
  41 #endif
  42 
  43 // Implementation of StubAssembler
  44 
  45 int StubAssembler::call_RT(Register oop_result1, Register metadata_result, address entry_point, int number_of_arguments) {
  46   // for sparc changing the number of arguments doesn't change
  47   // anything about the frame size so we'll always lie and claim that
  48   // we are only passing 1 argument.
  49   set_num_rt_args(1);
  50 
  51   assert_not_delayed();
  52   // bang stack before going to runtime
  53   set(-os::vm_page_size() + STACK_BIAS, G3_scratch);
  54   st(G0, SP, G3_scratch);
  55 
  56   // debugging support
  57   assert(number_of_arguments >= 0   , "cannot have negative number of arguments");
  58 
  59   set_last_Java_frame(SP, noreg);
  60   if (VerifyThread)  mov(G2_thread, O0); // about to be smashed; pass early




  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 "c1/c1_Defs.hpp"
  27 #include "c1/c1_MacroAssembler.hpp"
  28 #include "c1/c1_Runtime1.hpp"
  29 #include "interpreter/interpreter.hpp"
  30 #include "nativeInst_sparc.hpp"
  31 #include "oops/compiledICHolder.hpp"
  32 #include "oops/oop.inline.hpp"
  33 #include "prims/jvmtiExport.hpp"
  34 #include "runtime/sharedRuntime.hpp"
  35 #include "runtime/signature.hpp"
  36 #include "runtime/vframeArray.hpp"
  37 #include "utilities/macros.hpp"
  38 #include "vmreg_sparc.inline.hpp"
  39 #if INCLUDE_ALL_GCS
  40 #include "gc/g1/g1SATBCardTableModRefBS.hpp"
  41 #endif
  42 
  43 // Implementation of StubAssembler
  44 
  45 int StubAssembler::call_RT(Register oop_result1, Register metadata_result, address entry_point, int number_of_arguments) {
  46   // for sparc changing the number of arguments doesn't change
  47   // anything about the frame size so we'll always lie and claim that
  48   // we are only passing 1 argument.
  49   set_num_rt_args(1);
  50 
  51   assert_not_delayed();
  52   // bang stack before going to runtime
  53   set(-os::vm_page_size() + STACK_BIAS, G3_scratch);
  54   st(G0, SP, G3_scratch);
  55 
  56   // debugging support
  57   assert(number_of_arguments >= 0   , "cannot have negative number of arguments");
  58 
  59   set_last_Java_frame(SP, noreg);
  60   if (VerifyThread)  mov(G2_thread, O0); // about to be smashed; pass early


< prev index next >