JDK-7197672 : There are issues with shared data on windows
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-09-11
  • Updated: 2017-12-21
  • Resolved: 2013-02-04
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.
JDK 7 JDK 8 Other
7u131Fixed 8Fixed hs25,openjdk7uFixed
Here is log of issue with java -version at the end

gtee@jtg-x2200-01 /cygdrive/c/local/common/jdk/baseline
$ ./test/bin/java -Xshare:on
An error has occurred while processing the shared archive file.
Unable to map ReadOnly shared space at required address.
Error occurred during initialization of VM
Unable to use shared archive.

gtee@jtg-x2200-01 /cygdrive/c/local/common/jdk/baseline
$ ./test/bin/java -version
java version "1.8.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.8.0-ea-fastdebug-b55)
Java HotSpot(TM) Client VM (build 25.0-b01-internal-201209072051.cphillim.gc-hea
p_size-fastdebug, mixed mode)

To reproduce please login into jtg-x2200-01 and use current session to reproduce. The host is disabled from execution.