Mac Java Speed Issues

Just a quick update: I updated to the newly released macOS Sierra, but this bug with menu bars does not seem to have gone away. I am still seeing increasing delays in window creation, with thread dumps like:

"AWT-EventQueue-0" #15 prio=6 os_prio=31 tid=0x000000012969c000 nid=0xea0b runnable [0x0000700009e81000]
   java.lang.Thread.State: RUNNABLE
	at sun.lwawt.macosx.CMenu.nativeCreateSubMenu(Native Method)
	at sun.lwawt.macosx.CMenu.createModel(CMenu.java:67)
	at sun.lwawt.macosx.CMenuComponent.<init>(CMenuComponent.java:39)
	at sun.lwawt.macosx.CMenuItem.<init>(CMenuItem.java:43)
	at sun.lwawt.macosx.CMenu.<init>(CMenu.java:35)
	at sun.lwawt.macosx.LWCToolkit.createMenu(LWCToolkit.java:246)
	at java.awt.Menu.addNotify(Menu.java:178)

So I’ll still need to find time to pursue my Application.setDefaultMenuBar fix later this fall.

1 Like