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

G1 verification code can be very slow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • hs25
    • hotspot
    • None
    • gc

      The G1 verification can be very slow when running some tests. Compared to Parallel Scavenge, G1 runs DoubleArrayLow, FloatArrayHigh and FloatArrayLow in 21m14s compared to 1m8.7s for PS.

      After adding some logging, the main issue seems to be:

           // If it returns false, verify_for_object() will output the
           // appropriate messasge.
           if (do_bot_verify && !_offsets.verify_for_object(p, obj_size)) {
             *failures = true;
             return;
           }

      in HeapRegion::verify.

      Impact = Medium, since the test times out due to 30 min limit in nightly testing
      Likelihood = Medium, since it happens intermittently in nightly testing
      Workaround = High, since verification has to be turned off

      ILW = MMH = P3

            Unassigned Unassigned
            ehelin Erik Helin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: