Skip to content
Permalink
Browse files
8259897: gtest os.dll_address_to_function_and_library_name_vm fails o…
…n AIX

Reviewed-by: mdoerr
  • Loading branch information
tstuefe committed Jan 21, 2021
1 parent 7f7166d commit 4dfd8cc4a6c3b161242b07262a2b20c74a84c5d1
Showing 1 changed file with 0 additions and 10 deletions.
@@ -748,15 +748,5 @@ TEST_VM(os, dll_address_to_function_and_library_name) {
EXPECT_EQ(tmp[10], 'X');
LOG("%s", output);
}

// Pointer (probably) outside function, should show at least the library name
addr -= 10;
st.reset();
EXPECT_TRUE(os::print_function_and_library_name(&st, addr,
provide_scratch_buffer ? tmp : NULL,
sizeof(tmp),
shorten_paths, demangle));
EXPECT_CONTAINS(output, "jvm"); // "jvm.dll" or "libjvm.so" or similar
LOG("%s", output);
}
}

1 comment on commit 4dfd8cc

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 4dfd8cc Jan 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.