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

VisualVM resets layout if you click 'Show Subtree' on a Sampler snapshot

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      macOS Sierra v 10.12.5

      A DESCRIPTION OF THE PROBLEM :
      Start VisualVM. Connect to running instance, Start CPU Sampler. Click 'Snapshot' button. On the generated snapshot whenever you click: (right click) 'Show Subtree' the layout is reset. For example if I add the 'number of samples' column, that will disappear whenever I drill down on a subtree.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      - Start VisualVM.
      - Connect to running instance,
      - Start CPU Sampler.
      - Click 'Snapshot' button.
      - Go to the snapshot view
      - add 'samples' column to view
      - select subtree, right click 'Show Subtree'
      - subtree is shown as root of the view as expected, BUT the layout is reset, I expect the layout settings to be preserved even if I drill down.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I expect the layout settings to be preserved even if I drill down.
      ACTUAL -
      Layout settings get reset to original values every time I drill down

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      manually add the column to the view each time you drill down

        Attachments

          Activity

            People

            Assignee:
            thurka Tomáš Hůrka
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: