-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
25
-
generic
This is prominent when you build a custom JDK, for example bearing both fastdebug and release JDKs. There, you would rename the JVM folders like:
cp -r $SRC_RELEASE $DST
cp -r $SRC_FASTDEBUG/lib/server/ $DST/lib/fastdebug/
cp -r $SRC_SLOWDEBUG/lib/server/ $DST/lib/slowdebug/
mv $DST/lib/server $DST/lib/release
ln -s $DST/lib/release $DST/lib/server
...and rewrite the jvm.cfg launcher to pick those up.
cat > $DST/lib/jvm-release.cfg <<EOF
-release KNOWN
-fastdebug KNOWN
-slowdebug KNOWN
-server KNOWN
-client IGNORE
EOF
Note that all these three JVMs are "server", they are different debug levels.
Now, after
There is a workaround to specify -XX:SharedArchiveFile at both dump and use times. But it should really work out of the box.
I suspect JDK-8352044 would run into the same kind of problem.
- caused by
-
JDK-8348028 Unable to run gtests with CDS enabled
-
- Resolved
-
- relates to
-
JDK-8352044 Add --with-import-jvms to configure
-
- Open
-