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

[TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java: System.gc() does not provide full GC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 26
    • hotspot
    • svc
    • 26
    • generic
    • generic

      UnmountedVThreadNativeMethodAtTop.java expects a full GC when calling System.gc() but this is not guaranteed [1]

      As a fix WhiteBox.fullGC() could be called.

      [1] https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/lang/System.html#gc()

            rrich Richard Reingruber
            rrich Richard Reingruber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: