Skip to content

Commit 8bf46c7

Browse files
committed
8258438: build error in test/hotspot/gtest/runtime/test_os.cpp
Reviewed-by: dcubed, tschatzl
1 parent 7977e38 commit 8bf46c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hotspot/gtest/runtime/test_os.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ TEST_VM(os, show_mappings_small_range) {
523523
TEST_VM(os, show_mappings_full_range) {
524524
// Reserve a small range and fill it with a marker string, should show up
525525
// on implementations displaying range snippets
526-
char* p = os::reserve_memory(1 * M, mtInternal);
526+
char* p = os::reserve_memory(1 * M, false, mtInternal);
527527
if (p != nullptr) {
528528
if (os::commit_memory(p, 1 * M, false)) {
529529
strcpy(p, "ABCDEFGHIJKLMNOPQRSTUVWXYZ");

0 commit comments

Comments
 (0)