Skip to content

Commit

Permalink
Backport 60c8d9c045be16fee99a83117844c2a8100f7c1a
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Dec 4, 2023
1 parent ba79073 commit bf9bf2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/share/utilities/vmError.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ static void print_oom_reasons(outputStream* st) {
st->print_cr("# Possible reasons:");
st->print_cr("# The system is out of physical RAM or swap space");
if (UseCompressedOops) {
st->print_cr("# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap");
st->print_cr("# This process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap");
}
if (LogBytesPerWord == 2) {
st->print_cr("# In 32 bit mode, the process size limit was hit");
Expand Down Expand Up @@ -824,9 +824,9 @@ void VMError::report(outputStream* st, bool _verbose) {
"(mprotect) failed to protect ");
jio_snprintf(buf, sizeof(buf), SIZE_FORMAT, _size);
st->print("%s", buf);
st->print(" bytes");
st->print(" bytes.");
if (strlen(_detail_msg) > 0) {
st->print(" for ");
st->print(" Error detail: ");
st->print("%s", _detail_msg);
}
st->cr();
Expand Down

0 comments on commit bf9bf2e

Please sign in to comment.