提交 4ae07f2e 编写于 作者: K kevinw

Merge

...@@ -92,8 +92,13 @@ public class ClassDump extends Tool { ...@@ -92,8 +92,13 @@ public class ClassDump extends Tool {
System.err.println("Warning: Can not create class filter!"); System.err.println("Warning: Can not create class filter!");
} }
} }
String outputDirectory = System.getProperty("sun.jvm.hotspot.tools.jcore.outputDir", ".");
setOutputDirectory(outputDirectory); // outputDirectory and jarStream are alternatives: setting one closes the other.
// If neither is set, use outputDirectory from the System property:
if (outputDirectory == null && jarStream == null) {
String dirName = System.getProperty("sun.jvm.hotspot.tools.jcore.outputDir", ".");
setOutputDirectory(dirName);
}
// walk through the system dictionary // walk through the system dictionary
SystemDictionary dict = VM.getVM().getSystemDictionary(); SystemDictionary dict = VM.getVM().getSystemDictionary();
......
...@@ -186,6 +186,11 @@ generate_replay() { ...@@ -186,6 +186,11 @@ generate_replay() {
then then
# enable core dump # enable core dump
ulimit -c unlimited ulimit -c unlimited
if [ $VM_OS = "solaris" ]
then
coreadm -p core $$
fi
fi fi
cmd="${JAVA} ${TESTVMOPTS} $@ \ cmd="${JAVA} ${TESTVMOPTS} $@ \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册