Skip to content

Commit 950496b

Browse files
authored
Merge pull request #45 from ev3dev-lang-java/xshareDump
Dump CDS cache on all Java installations
2 parents 74530a3 + 4eb4bd6 commit 950496b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

installer-jessie.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,6 @@ function java_install_jri() {
219219
fi
220220

221221
CLASSLIST="$JRI_CLASSLIST"
222-
223-
write_log "dumping java cds"
224-
"$JAVA_REAL_EXE" -Xshare:dump
225222
return $?
226223
}
227224

@@ -289,6 +286,9 @@ function do_fixup_perms() {
289286
######################
290287
# Print Java version
291288
function print_java() {
289+
write_log "dumping cds cache"
290+
"$JAVA_REAL_EXE" -Xshare:dump
291+
292292
echo
293293
echo "-> Java version:"
294294
"$JAVA_REAL_EXE" -version

installer.sh

+3
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ function do_fixup_perms() {
292292
######################
293293
# Print Java version
294294
function print_java() {
295+
write_log "dumping cds cache"
296+
"$JAVA_REAL_EXE" -Xshare:dump
297+
295298
echo
296299
echo "-> Java version:"
297300
"$JAVA_REAL_EXE" -version

0 commit comments

Comments
 (0)