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

BoxView reported as GC root

XMLWordPrintable

    • gc
    • x86_64
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      Ubuntu 18 (64 bit), this is actually JDK 10.0.2 (could not select from drop down)

      A DESCRIPTION OF THE PROBLEM :
      I have a heap dump that reports a very weird GC root of type BoxView.

      Download heap dump (383 MB compressed, 2.4 G uncompressed): http://botcompany.de:8081/boxview.zip
      Screenshot VisualVM: http://botcompany.de/1004590/raw/1101738

      How can BoxView be a Java frame / GC root? There 300,000 AWT components inside of it too.

      Please advise.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Not sure

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      BoxView should not be a GC root
      ACTUAL -
      BoxView is a GC root and causes ~3gb memory consumption

      ---------- BEGIN SOURCE ----------
      Not sure
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None known

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: