22 lines
939 B
Diff
22 lines
939 B
Diff
From 1b17272792968ae8b888c7ccb99133a4aee6b97f Mon Sep 17 00:00:00 2001
|
|
Subject: 8293344: JDK-8242181 broke stack printing for non-attached threads
|
|
---
|
|
hotspot/src/share/vm/utilities/elfFile.cpp | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/hotspot/src/share/vm/utilities/elfFile.cpp b/hotspot/src/share/vm/utilities/elfFile.cpp
|
|
index 81bd44109..448963b2d 100644
|
|
--- a/hotspot/src/share/vm/utilities/elfFile.cpp
|
|
+++ b/hotspot/src/share/vm/utilities/elfFile.cpp
|
|
@@ -318,7 +318,6 @@ bool ElfFile::specifies_noexecstack() {
|
|
|
|
bool ElfFile::get_source_info(const uint32_t offset_in_library, char* filename, const size_t filename_len,
|
|
int* line, bool is_pc_after_call) {
|
|
- ResourceMark rm;
|
|
if (!load_dwarf_file()) {
|
|
// Some ELF libraries do not provide separate .debuginfo files. Check if the current ELF file has the required
|
|
// DWARF sections. If so, treat the current ELF file as DWARF file.
|
|
--
|
|
2.22.0
|
|
|