Print this page
rev 2237 : [mq]: initial-intrinsification-changes

Split Close
Expand all
Collapse all
          --- old/src/cpu/sparc/vm/cppInterpreter_sparc.cpp
          +++ new/src/cpu/sparc/vm/cppInterpreter_sparc.cpp
↓ open down ↓ 543 lines elided ↑ open up ↑
 544  544  
 545  545      // Generate regular method entry
 546  546      __ bind(slow_path);
 547  547      __ ba(false, fast_accessor_slow_entry_path);
 548  548      __ delayed()->nop();
 549  549      return entry;
 550  550    }
 551  551    return NULL;
 552  552  }
 553  553  
      554 +address InterpreterGenerator::generate_Reference_get_entry(void) {
      555 +#ifndef SERIALGC
      556 +  if (UseG1GC) {
      557 +    // We need to generate have a routine that generates code to:
      558 +    //   * load the value in the referent field
      559 +    //   * passes that value to the pre-barrier.
      560 +    //
      561 +    // In the case of G1 this will record the value of the
      562 +    // referent in an SATB buffer if marking is active.
      563 +    // This will cause concurrent marking to mark the referent
      564 +    // field as live.
      565 +    Unimplemented();
      566 +  }
      567 +#endif // SERIALGC
      568 +
      569 +  // If G1 is not enabled then attempt to go through the accessor entry point
      570 +  // Reference.get is an accessor
      571 +  return generate_accessor_entry();
      572 +}
      573 +
 554  574  //
 555  575  // Interpreter stub for calling a native method. (C++ interpreter)
 556  576  // This sets up a somewhat different looking stack for calling the native method
 557  577  // than the typical interpreter frame setup.
 558  578  //
 559  579  
 560  580  address InterpreterGenerator::generate_native_entry(bool synchronized) {
 561  581    address entry = __ pc();
 562  582  
 563  583    // the following temporary registers are used during frame creation
↓ open down ↓ 1705 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX