- 
    Bug 
- 
    Resolution: Cannot Reproduce
- 
     P3 P3
- 
    8
                    To reproduce:
- run Ensemble,
- navigate to Menu sample,
- click Options in sample menu bar
- navigate back to home page
- use jvisualvm from JDK bin to generate a heap dump
- use the following query to see not garbage collected pages:
select x
from ensemble.samplepage.SamplePage x
here is what observed in Find Nearest GC Root from thread dump of those SamplePages:
keyboardShortcutsHandler > ... > accelerators > ... > Shortcut + C
---------------------------------------------
Second example:
- use Ensemble from build that doesn't contain changeset 92cdacb550e0 "Ensemble8: Fix forRT-33660 TabPane app is leaking through mnemonics mechanism"
*or*
alter TabPaneApp.java in Ensemble8 source code by commenting out the following line:
radioButton.setMnemonicParsing(false);
- run this version of Ensemble8,
- open TabPane sample
- go to home page
- use jvisualvm from JDK bin to generate a heap dump
- use the following query to see not garbage collected pages:
select x
from ensemble.samplepage.SamplePage x
here is what observed in Find Nearest GC Root from thread dump of those SamplePages:
keyboardShortcutsHandler > ... > accelerators > ... > Alt + T
            
- run Ensemble,
- navigate to Menu sample,
- click Options in sample menu bar
- navigate back to home page
- use jvisualvm from JDK bin to generate a heap dump
- use the following query to see not garbage collected pages:
select x
from ensemble.samplepage.SamplePage x
here is what observed in Find Nearest GC Root from thread dump of those SamplePages:
keyboardShortcutsHandler > ... > accelerators > ... > Shortcut + C
---------------------------------------------
Second example:
- use Ensemble from build that doesn't contain changeset 92cdacb550e0 "Ensemble8: Fix for
*or*
alter TabPaneApp.java in Ensemble8 source code by commenting out the following line:
radioButton.setMnemonicParsing(false);
- run this version of Ensemble8,
- open TabPane sample
- go to home page
- use jvisualvm from JDK bin to generate a heap dump
- use the following query to see not garbage collected pages:
select x
from ensemble.samplepage.SamplePage x
here is what observed in Find Nearest GC Root from thread dump of those SamplePages:
keyboardShortcutsHandler > ... > accelerators > ... > Alt + T
- blocks
- 
                    JDK-8123957 Ensemble8: running out of memory -           
- Resolved
 
-         
- 
                    JDK-8123960 TabPane app is leaking through mnemonics mechanism -           
- Resolved
 
-         
- relates to
- 
                    JDK-8117406 MenuBar sample seems to be leaking through F10 accelerator -           
- Resolved
 
-         
- 
                    JDK-8123067 Sample pages are leaking through popup context menus -           
- Resolved
 
-         
- 
                    JDK-8120252 Controls are leaking through focus owner mechanism -           
- Resolved
 
-