United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6739899 : CDS: Incorrect error message for -Xshare:dump for 64-bit VMs

Details
Type:
Bug
Submit Date:
2008-08-21
Status:
Resolved
Updated Date:
2013-04-09
Project Name:
JDK
Resolved Date:
2013-04-09
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Cannot Reproduce
Affected Versions:
hs11
Fixed Versions:
tbd_major

Related Reports
Relates:

Sub Tasks

Description
java -d64 -server -Xshare:dump
Error occurred during initialization of VM
Dumping a shared archive is not supported on the Server JVM.

The message it confusing: for latest Hotspot, shared archive is in fact supported on the Server VM, it is just not supported for 64-bit VMs.

I suggest to change wording to "Dumping a shared archive is not supported on this configuration."
Here is another confusing message:
java -server -Xcomp -Xincgc -Xshare:dump
error:  invalid argument combination.
The CMS collector (-XX:+UseConcMarkSweepGC) must be selected in order
to use CMSIncrementalMode.
Could not create the Java virtual machine.

                                    

Comments
These messages are no longer generated by hotspot so I'm closing this bug as 'not reproduceable'.
                                     
2013-04-09



Hardware and Software, Engineered to Work Together