hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp
changeset 32074 54b9558a71a2
parent 31046 d01ad7a0ecb0
child 32820 ec181adbf3b1
child 33070 54f3f085b165
equal deleted inserted replaced
31995:aa4049b4184a 32074:54b9558a71a2
  2312   delayed()->nop();
  2312   delayed()->nop();
  2313   bind(has_counters);
  2313   bind(has_counters);
  2314 }
  2314 }
  2315 
  2315 
  2316 void InterpreterMacroAssembler::increment_invocation_counter( Register Rcounters, Register Rtmp, Register Rtmp2 ) {
  2316 void InterpreterMacroAssembler::increment_invocation_counter( Register Rcounters, Register Rtmp, Register Rtmp2 ) {
  2317   assert(UseCompiler, "incrementing must be useful");
  2317   assert(UseCompiler || LogTouchedMethods, "incrementing must be useful");
  2318   assert_different_registers(Rcounters, Rtmp, Rtmp2);
  2318   assert_different_registers(Rcounters, Rtmp, Rtmp2);
  2319 
  2319 
  2320   Address inv_counter(Rcounters, MethodCounters::invocation_counter_offset() +
  2320   Address inv_counter(Rcounters, MethodCounters::invocation_counter_offset() +
  2321                                  InvocationCounter::counter_offset());
  2321                                  InvocationCounter::counter_offset());
  2322   Address be_counter (Rcounters, MethodCounters::backedge_counter_offset() +
  2322   Address be_counter (Rcounters, MethodCounters::backedge_counter_offset() +