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
1 change: 1 addition & 0 deletions src/hotspot/share/jvmci/jvmciCodeInstaller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,7 @@ JVMCI::CodeInstallResult CodeInstaller::install(JVMCICompiler* compiler,
if (_nmethod_entry_patch_offset != -1) {
BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();

// an empty error buffer for use by the verify_barrier code
err_msg msg("");
if (!bs_nm->verify_barrier(nm, msg)) {
JVMCI_THROW_MSG_(IllegalArgumentException, err_msg("nmethod entry barrier is malformed: %s", msg.buffer()), JVMCI::ok);
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/jvmci/jvmciEnv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class JVMCIEnv : public ResourceObj {
// Given an instance of HotSpotInstalledCode, return the corresponding CodeBlob*.
CodeBlob* get_code_blob(JVMCIObject code);

// Given an instance of HotSpotInstalledCode return the corresponding nmethod.
// Given an instance of HotSpotInstalledCode, return the corresponding nmethod.
nmethod* get_nmethod(JVMCIObject code, JVMCINMethodHandle& nmethod_handle);

const char* klass_name(JVMCIObject object);
Expand Down