http://java.net/jira/browse/MACOSX_PORT-676 submitted 2011/11/09 by Yuri Nesterenko
This old test run a loop constructing 500 Frames with MenuBar defined; for each one, show()/removeNotify() is called 5 times. Thus, net result should be, nothing on the screen.
However, somewhere in the process we receive an OutOfMemory exception in 2D call from initalization section of LWWindowPeer:
// Create surface data and back buffer
I don't know if it is AWT or 2d issue and send this to AWT (traditionally, would say in AWT).
The test (2 files) and a log snippet attached.