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

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

XMLWordPrintable

    • svc
    • 26
    • b09
    • 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:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: