Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8293007

riscv: failed to build after JDK-8290025

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 20
    • 20
    • hotspot
    • None
    • 20
    • b13
    • riscv
    • linux

    Description

      The riscv port tier1 failed after JDK-8290025,after which GC took over the work of code cache sweeping.
      Then, concurrent GC like ZGC or Shenandoah failed at the unimplemented BarreirSetNMethod::arm(), and meanwhile, it exposed a long-stand bug in G1BarrierSetAssembler::g1_write_barrier_pre().
       
      Considering we are at the same time to rewrite the nmethod entry barrier when porting loom and generational ZGC in riscv port, we solve them together in this issue to make things smooth.

      Like JDK-8290700, we brought the similar optimization to the nmethod entry barrier, and introduced a out-of-line stub to the entry barriers of C2 methods, and also a concurrent-data-and instruction-patching barrier.

      Attachments

        Issue Links

          Activity

            People

              yadongwang Yadong Wang
              yadongwang Yadong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: