Skip to content

Commit e559bd2

Browse files
committed
8254889: name_and_sig_as_C_string usages in frame coding without ResourceMark
Reviewed-by: dholmes
1 parent da97ab5 commit e559bd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hotspot/share/runtime/frame.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,8 @@ void frame::interpreter_frame_verify_monitor(BasicObjectLock* value) const {
11411141
#endif
11421142

11431143
#ifndef PRODUCT
1144+
// callers need a ResourceMark because of name_and_sig_as_C_string() usage,
1145+
// RA allocated string is returned to the caller
11441146
void frame::describe(FrameValues& values, int frame_no) {
11451147
// boundaries: sp and the 'real' frame pointer
11461148
values.describe(-1, sp(), err_msg("sp for #%d", frame_no), 1);

0 commit comments

Comments
 (0)