Skip to content

Commit

Permalink
8265180: JvmtiCompiledMethodLoadEvent should include the stub section…
Browse files Browse the repository at this point in the history
… of nmethods

Reviewed-by: kvn, sspitsyn
  • Loading branch information
Tom Rodriguez committed Apr 15, 2021
1 parent f6e54f2 commit 3423f3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/prims/jvmtiExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1107,8 +1107,8 @@ class JvmtiCompiledMethodLoadEventMark : public JvmtiMethodEventMark {
public:
JvmtiCompiledMethodLoadEventMark(JavaThread *thread, nmethod *nm, void* compile_info_ptr = NULL)
: JvmtiMethodEventMark(thread,methodHandle(thread, nm->method())) {
_code_data = nm->insts_begin();
_code_size = nm->insts_size();
_code_data = nm->code_begin();
_code_size = nm->code_size();
_compile_info = compile_info_ptr; // Set void pointer of compiledMethodLoad Event. Default value is NULL.
JvmtiCodeBlobEvents::build_jvmti_addr_location_map(nm, &_map, &_map_length);
}
Expand Down

1 comment on commit 3423f3e

@openjdk-notifier
Copy link

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.