Skip to content
Closed
3 changes: 2 additions & 1 deletion src/hotspot/share/code/nmethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,8 @@ bool nmethod::make_not_entrant(const char* reason) {
if (update_recompile_counts()) {
#if INCLUDE_JVMCI
if (jvmci_nmethod_data() != nullptr && !jvmci_nmethod_data()->is_default()) {
// Hosted compilations are not subject to the recompilation cutoff
// Non-default (i.e., non-CompileBroker) compilations are
// not subject to the recompilation cutoff
} else
#endif
{
Expand Down
5 changes: 3 additions & 2 deletions src/hotspot/share/jvmci/jvmciRuntime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ class MetadataHandles;
class JVMCINMethodData : public ResourceObj {
friend class JVMCIVMStructs;

// Is HotSpotNmethod.name non-null? If so, the value is
// embedded in the end of this object.
union JVMCINMethodProperties {
uint8_t value;
struct {
// Is HotSpotNmethod.name non-null? If so, the value is
// embedded in the end of this object.
uint8_t _has_name : 1,
// Is HotSpotNmethod default, i.e., compilation scheduled by CompileBroker?
_is_default : 1,
: 6;
} bits;
Expand Down