JDK-6739899 : CDS: Incorrect error message for -Xshare:dump for 64-bit VMs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs11
  • Priority: P4
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2008-08-21
  • Updated: 2019-01-15
  • Resolved: 2013-04-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
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'.
09-04-2013