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

gc/arguments/TestTargetSurvivorRatioFlag.java failed on macos 12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 19
    • 18
    • hotspot
    • gc

      Test
      gc/arguments/TestTargetSurvivorRatioFlag.java
      failed on Macos 12 during ATR.

      The log:
      Start test
      [0.425s][trace][gc,age] GC(0) Age table with threshold 15 (max threshold 15)
      [0.503s][debug][gc,age] GC(1) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.507s][trace][gc,age] GC(1) Age table with threshold 15 (max threshold 15)
      [0.507s][trace][gc,age] GC(1) - age 1: 1061824 bytes, 1061824 total
      [0.555s][debug][gc,age] GC(2) Desired survivor size 1048576 bytes, new threshold 1 (max threshold 15)
      [0.557s][trace][gc,age] GC(2) Age table with threshold 1 (max threshold 15)
      [0.557s][trace][gc,age] GC(2) - age 1: 14608 bytes, 14608 total
      [0.588s][debug][gc,age] GC(3) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.589s][trace][gc,age] GC(3) Age table with threshold 15 (max threshold 15)
      [0.589s][trace][gc,age] GC(3) - age 2: 14448 bytes, 14448 total
      [0.610s][debug][gc,age] GC(4) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.611s][trace][gc,age] GC(4) Age table with threshold 15 (max threshold 15)
      [0.611s][trace][gc,age] GC(4) - age 1: 64 bytes, 64 total
      [0.611s][trace][gc,age] GC(4) - age 3: 14448 bytes, 14512 total
      [0.629s][debug][gc,age] GC(5) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.629s][trace][gc,age] GC(5) Age table with threshold 15 (max threshold 15)
      [0.629s][trace][gc,age] GC(5) - age 2: 64 bytes, 64 total
      [0.629s][trace][gc,age] GC(5) - age 4: 14448 bytes, 14512 total
      [0.657s][debug][gc,age] GC(6) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.657s][trace][gc,age] GC(6) Age table with threshold 15 (max threshold 15)
      [0.657s][trace][gc,age] GC(6) - age 3: 64 bytes, 64 total
      [0.657s][trace][gc,age] GC(6) - age 5: 14448 bytes, 14512 total
      [0.673s][debug][gc,age] GC(7) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.674s][trace][gc,age] GC(7) Age table with threshold 15 (max threshold 15)
      [0.674s][trace][gc,age] GC(7) - age 4: 64 bytes, 64 total
      [0.674s][trace][gc,age] GC(7) - age 6: 14448 bytes, 14512 total
      [0.692s][debug][gc,age] GC(8) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.692s][trace][gc,age] GC(8) Age table with threshold 15 (max threshold 15)
      [0.692s][trace][gc,age] GC(8) - age 5: 64 bytes, 64 total
      [0.693s][trace][gc,age] GC(8) - age 7: 14448 bytes, 14512 total
      [0.708s][debug][gc,age] GC(9) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.709s][trace][gc,age] GC(9) Age table with threshold 15 (max threshold 15)
      [0.709s][trace][gc,age] GC(9) - age 6: 64 bytes, 64 total
      [0.709s][trace][gc,age] GC(9) - age 8: 14448 bytes, 14512 total
      [0.727s][debug][gc,age] GC(10) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.727s][trace][gc,age] GC(10) Age table with threshold 15 (max threshold 15)
      [0.727s][trace][gc,age] GC(10) - age 7: 64 bytes, 64 total
      [0.727s][trace][gc,age] GC(10) - age 9: 14448 bytes, 14512 total
      [0.743s][debug][gc,age] GC(11) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.743s][trace][gc,age] GC(11) Age table with threshold 15 (max threshold 15)
      [0.743s][trace][gc,age] GC(11) - age 8: 64 bytes, 64 total
      [0.744s][trace][gc,age] GC(11) - age 10: 14448 bytes, 14512 total
      [0.760s][debug][gc,age] GC(12) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.761s][trace][gc,age] GC(12) Age table with threshold 15 (max threshold 15)
      [0.761s][trace][gc,age] GC(12) - age 9: 64 bytes, 64 total
      [0.761s][trace][gc,age] GC(12) - age 11: 14448 bytes, 14512 total
      [0.776s][debug][gc,age] GC(13) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.777s][trace][gc,age] GC(13) Age table with threshold 15 (max threshold 15)
      [0.777s][trace][gc,age] GC(13) - age 10: 64 bytes, 64 total
      [0.777s][trace][gc,age] GC(13) - age 12: 14448 bytes, 14512 total
      [0.795s][debug][gc,age] GC(14) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.796s][trace][gc,age] GC(14) Age table with threshold 15 (max threshold 15)
      [0.796s][trace][gc,age] GC(14) - age 11: 64 bytes, 64 total
      [0.796s][trace][gc,age] GC(14) - age 13: 14448 bytes, 14512 total
      [0.811s][debug][gc,age] GC(15) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.812s][trace][gc,age] GC(15) Age table with threshold 15 (max threshold 15)
      [0.812s][trace][gc,age] GC(15) - age 12: 64 bytes, 64 total
      [0.812s][trace][gc,age] GC(15) - age 14: 14448 bytes, 14512 total
      [0.830s][debug][gc,age] GC(16) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.831s][trace][gc,age] GC(16) Age table with threshold 15 (max threshold 15)
      [0.831s][trace][gc,age] GC(16) - age 13: 64 bytes, 64 total
      [0.831s][trace][gc,age] GC(16) - age 15: 14448 bytes, 14512 total
      [0.847s][debug][gc,age] GC(17) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.848s][trace][gc,age] GC(17) Age table with threshold 15 (max threshold 15)
      [0.848s][trace][gc,age] GC(17) - age 14: 64 bytes, 64 total
      [0.864s][debug][gc,age] GC(18) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.865s][trace][gc,age] GC(18) Age table with threshold 15 (max threshold 15)
      [0.865s][trace][gc,age] GC(18) - age 15: 64 bytes, 64 total
      [0.882s][debug][gc,age] GC(19) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.883s][trace][gc,age] GC(19) Age table with threshold 15 (max threshold 15)
      [0.900s][debug][gc,age] GC(20) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.901s][trace][gc,age] GC(20) Age table with threshold 15 (max threshold 15)
      [0.920s][debug][gc,age] GC(21) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.920s][trace][gc,age] GC(21) Age table with threshold 15 (max threshold 15)
      [0.936s][debug][gc,age] GC(22) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.936s][trace][gc,age] GC(22) Age table with threshold 15 (max threshold 15)
      [0.953s][debug][gc,age] GC(23) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.954s][trace][gc,age] GC(23) Age table with threshold 15 (max threshold 15)
      [0.970s][debug][gc,age] GC(24) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.970s][trace][gc,age] GC(24) Age table with threshold 15 (max threshold 15)
      [0.989s][debug][gc,age] GC(25) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [0.989s][trace][gc,age] GC(25) Age table with threshold 15 (max threshold 15)
      [1.005s][debug][gc,age] GC(26) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.005s][trace][gc,age] GC(26) Age table with threshold 15 (max threshold 15)
      [1.024s][debug][gc,age] GC(27) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.025s][trace][gc,age] GC(27) Age table with threshold 15 (max threshold 15)
      [1.040s][debug][gc,age] GC(28) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.041s][trace][gc,age] GC(28) Age table with threshold 15 (max threshold 15)
      [1.058s][debug][gc,age] GC(29) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.059s][trace][gc,age] GC(29) Age table with threshold 15 (max threshold 15)
      [1.074s][debug][gc,age] GC(30) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.075s][trace][gc,age] GC(30) Age table with threshold 15 (max threshold 15)
      [1.094s][debug][gc,age] GC(31) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.094s][trace][gc,age] GC(31) Age table with threshold 15 (max threshold 15)
      End test
      Start test
      [1.117s][trace][gc,age] GC(32) Age table with threshold 15 (max threshold 15)
      [1.135s][debug][gc,age] GC(33) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.137s][trace][gc,age] GC(33) Age table with threshold 15 (max threshold 15)
      [1.137s][trace][gc,age] GC(33) - age 1: 1060864 bytes, 1060864 total
      [1.154s][debug][gc,age] GC(34) Desired survivor size 1048576 bytes, new threshold 1 (max threshold 15)
      [1.155s][trace][gc,age] GC(34) Age table with threshold 1 (max threshold 15)
      [1.172s][debug][gc,age] GC(35) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.172s][trace][gc,age] GC(35) Age table with threshold 15 (max threshold 15)
      [1.191s][debug][gc,age] GC(36) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.191s][trace][gc,age] GC(36) Age table with threshold 15 (max threshold 15)
      [1.207s][debug][gc,age] GC(37) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.207s][trace][gc,age] GC(37) Age table with threshold 15 (max threshold 15)
      [1.226s][debug][gc,age] GC(38) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.226s][trace][gc,age] GC(38) Age table with threshold 15 (max threshold 15)
      [1.242s][debug][gc,age] GC(39) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.243s][trace][gc,age] GC(39) Age table with threshold 15 (max threshold 15)
      [1.260s][debug][gc,age] GC(40) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.260s][trace][gc,age] GC(40) Age table with threshold 15 (max threshold 15)
      [1.276s][debug][gc,age] GC(41) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.276s][trace][gc,age] GC(41) Age table with threshold 15 (max threshold 15)
      [1.295s][debug][gc,age] GC(42) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.295s][trace][gc,age] GC(42) Age table with threshold 15 (max threshold 15)
      [1.311s][debug][gc,age] GC(43) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.312s][trace][gc,age] GC(43) Age table with threshold 15 (max threshold 15)
      [1.330s][debug][gc,age] GC(44) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.331s][trace][gc,age] GC(44) Age table with threshold 15 (max threshold 15)
      [1.347s][debug][gc,age] GC(45) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.348s][trace][gc,age] GC(45) Age table with threshold 15 (max threshold 15)
      [1.368s][debug][gc,age] GC(46) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.369s][trace][gc,age] GC(46) Age table with threshold 15 (max threshold 15)
      [1.388s][debug][gc,age] GC(47) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.388s][trace][gc,age] GC(47) Age table with threshold 15 (max threshold 15)
      [1.410s][debug][gc,age] GC(48) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.411s][trace][gc,age] GC(48) Age table with threshold 15 (max threshold 15)
      [1.434s][debug][gc,age] GC(49) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.435s][trace][gc,age] GC(49) Age table with threshold 15 (max threshold 15)
      [1.456s][debug][gc,age] GC(50) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.457s][trace][gc,age] GC(50) Age table with threshold 15 (max threshold 15)
      [1.476s][debug][gc,age] GC(51) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.477s][trace][gc,age] GC(51) Age table with threshold 15 (max threshold 15)
      [1.498s][debug][gc,age] GC(52) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.498s][trace][gc,age] GC(52) Age table with threshold 15 (max threshold 15)
      [1.519s][debug][gc,age] GC(53) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.520s][trace][gc,age] GC(53) Age table with threshold 15 (max threshold 15)
      [1.539s][debug][gc,age] GC(54) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.540s][trace][gc,age] GC(54) Age table with threshold 15 (max threshold 15)
      [1.562s][debug][gc,age] GC(55) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.563s][trace][gc,age] GC(55) Age table with threshold 15 (max threshold 15)
      [1.581s][debug][gc,age] GC(56) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.582s][trace][gc,age] GC(56) Age table with threshold 15 (max threshold 15)
      [1.600s][debug][gc,age] GC(57) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.601s][trace][gc,age] GC(57) Age table with threshold 15 (max threshold 15)
      [1.619s][debug][gc,age] GC(58) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.619s][trace][gc,age] GC(58) Age table with threshold 15 (max threshold 15)
      [1.641s][debug][gc,age] GC(59) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.642s][trace][gc,age] GC(59) Age table with threshold 15 (max threshold 15)
      [1.665s][debug][gc,age] GC(60) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.665s][trace][gc,age] GC(60) Age table with threshold 15 (max threshold 15)
      [1.682s][debug][gc,age] GC(61) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.683s][trace][gc,age] GC(61) Age table with threshold 15 (max threshold 15)
      [1.700s][debug][gc,age] GC(62) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.701s][trace][gc,age] GC(62) Age table with threshold 15 (max threshold 15)
      [1.718s][debug][gc,age] GC(63) Desired survivor size 1048576 bytes, new threshold 15 (max threshold 15)
      [1.719s][trace][gc,age] GC(63) Age table with threshold 15 (max threshold 15)
      End test

      ----------System.err:(12/975)----------
      java.lang.RuntimeException: Survivor space usage ratio expected to be close to 20, but observed ratio is: 0.27679443359375
      at gc.arguments.TestTargetSurvivorRatioFlag.positiveTest(TestTargetSurvivorRatioFlag.java:178)
      at gc.arguments.TestTargetSurvivorRatioFlag.main(TestTargetSurvivorRatioFlag.java:102)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

            Unassigned Unassigned
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: