Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/jvmci/jvmciEnv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ class JVMCIEnv : public ResourceObj {

void fthrow_error(const char* file, int line, const char* format, ...) ATTRIBUTE_PRINTF(4, 5);

// Given an instance of HotSpotInstalledCode return the corresponding CodeBlob*.
// Given an instance of HotSpotInstalledCode, return the corresponding CodeBlob*.
CodeBlob* get_code_blob(JVMCIObject code);

// Given an instance of HotSpotInstalledCode return the corresponding nmethod.
Copy link
Member

Choose a reason for hiding this comment

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

Can you please improve the comment while here, adding a , after HotSpotInstalledCode.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

Expand Down
3 changes: 2 additions & 1 deletion src/hotspot/share/runtime/javaThread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ class JavaThread: public Thread {
jlong _jvmci_reserved1;
oop _jvmci_reserved_oop0;

// This field is used to keep an nmethod visible to the GC so that it can be kept alive
// This field is used to keep an nmethod visible to the GC so that it and its contained oops can
// be kept alive
nmethod* _live_nmethod;

public:
Expand Down