We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f04e1 commit 7b6ae46Copy full SHA for 7b6ae46
src/hotspot/share/gc/shared/locationPrinter.inline.hpp
@@ -27,6 +27,7 @@
27
28
#include "gc/shared/locationPrinter.hpp"
29
30
+#include "memory/resourceArea.inline.hpp"
31
#include "oops/compressedOops.inline.hpp"
32
#include "oops/oopsHierarchy.hpp"
33
@@ -51,6 +52,7 @@ oop BlockLocationPrinter<CollectedHeapT>::base_oop_or_null(void* addr) {
51
52
53
template <typename CollectedHeapT>
54
bool BlockLocationPrinter<CollectedHeapT>::print_location(outputStream* st, void* addr) {
55
+ ResourceMark rm;
56
// Check if addr points into Java heap.
57
if (CollectedHeapT::heap()->is_in(addr)) {
58
oop o = base_oop_or_null(addr);
0 commit comments