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

No_Safepoint_Verifier is not necessary in Rewriter::scan_method

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 10
    • 8, 9
    • hotspot
    • b21

    Description

      This is legacy code from the PermGen error. The No_Safepoint_Verifier is no longer needed because Method will never move with JDK8 and later.


      void Rewriter::scan_method(Method* method, bool reverse, bool* invokespecial_error) {

        int nof_jsrs = 0;
        bool has_monitor_bytecodes = false;

        {
          // We cannot tolerate a GC in this block, because we've
          // cached the bytecodes in 'code_base'. If the Method*
          // moves, the bytecodes will also move.
          No_Safepoint_Verifier nsv;
          Bytecodes::Code c;

      Attachments

        Activity

          People

            coleenp Coleen Phillimore
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: