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

G1 does not implement millis_since_last_gc which is needed by RMI GC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u60, 8u40, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b133
    • Verification:
      Fix failed

      Description

      G1 does not return a correct value for the CollectedHeap::millis_since_last_gc which is called from the JVM_MaxObjectInspectionAge, used by the RMI "distributed gc".

      This is a day-1 issue in G1 and an implementation should be added for completeness.

      ILW=
      L, objects may not be garbage collected as regularly as expected
      M, likelihood of setting sun.rmi.dgc.{client,server}.gcInterval is unclear, default value is 1h
      M, switch to a different GC

        Attachments

        1. GC.c
          1 kB
        2. GC.h
          0.4 kB
        3. GC.java
          0.5 kB

          Issue Links

            Activity

              People

              Assignee:
              jprovino Joseph Provino (Inactive)
              Reporter:
              mgerdin Mikael Gerdin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: