United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6923976 TestProviderLeak.java is using too small of an initial heap under newer Hotspot (b79+)
6923976 : TestProviderLeak.java is using too small of an initial heap under newer Hotspot (b79+)

Details
Type:
Bug
Submit Date:
2010-02-05
Status:
Resolved
Updated Date:
2010-04-08
Project Name:
JDK
Resolved Date:
2010-02-16
Component:
security-libs
OS:
generic
Sub-Component:
javax.crypto
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7

Related Reports
Backport:

Sub Tasks

Description
Error occurred during initialization of VM
Too small initial heap for new size specified
STDERR:

TEST RESULT: Failed. Unexpected exit from test [exit code: 1]
--------------------------------------------------
Test results: failed: 1


Source has:

 * @run main/othervm -Xmx2m -server TestProviderLeak

By trial/error, upping to 6m seems to work just fine.  Asking for Hotspot's opinion as to whether we should bump to something larger.

                                    

Comments
EVALUATION

Added workaround:  -XX:OldSize=1m -XX:NewSize=512k 

Could remove later if needed.
                                     
2010-02-06
EVALUATION

See Description
                                     
2010-02-05



Hardware and Software, Engineered to Work Together