Skip to content

Commit

Permalink
Fix compile failure in minimal build config
Browse files Browse the repository at this point in the history
Signed-off-by: Ashutosh Mehra <asmehra@redhat.com>
  • Loading branch information
ashu-mehra committed Jan 10, 2025
1 parent b631d11 commit a11da42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/share/runtime/sharedRuntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2537,9 +2537,10 @@ static GrowableArray<AdapterHandlerEntry*>* _adapter_handler_list = nullptr;
// Find a entry with the same fingerprint if it exists
AdapterHandlerEntry* AdapterHandlerLibrary::lookup(AdapterFingerPrint* fp) {
NOT_PRODUCT(_lookups++);
AdapterHandlerEntry* entry = nullptr;
#if INCLUDE_CDS
// Search archived table first. It is read-only table so can be searched without lock
AdapterHandlerEntry* entry = _archived_adapter_handler_table.lookup(fp, fp->compute_hash(), 0 /* unused */);
entry = _archived_adapter_handler_table.lookup(fp, fp->compute_hash(), 0 /* unused */);
if (entry != nullptr) {
#ifndef PRODUCT
if (fp->is_compact()) {
Expand Down

0 comments on commit a11da42

Please sign in to comment.