<AWT Dev> <AWT dev> Review request for JDK-8165863:[macosx] stack overflow in java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java
Sergey.Bylokhov at oracle.com
Fri Aug 4 13:55:41 UTC 2017
The code in the test and the code in the JButton does not have any
recursion and use only loops. All buttons itself are stored in the heap
not on the stack. Can you please clarify, where in our code the default
size of the stack is too small?
On 04.08.2017 4:40, Manajit Halder wrote:
> Hi All,
> Kindly review the fix for JDK10.
> Root cause:
> The problem was due to default JVM stack size, which was not enough for
> the creation of 10001 JButtons.
> Increased the JVM stack size to 2048k for this test case using JVM flag
Best regards, Sergey.
More information about the awt-dev