Skip to content

Commit

Permalink
8256275: Optimized build is broken
Browse files Browse the repository at this point in the history
Reviewed-by: redestad, coleenp
  • Loading branch information
Vladimir Ivanov committed Nov 13, 2020
1 parent b0c28fa commit 8c31bd2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/classfile/vmIntrinsics.cpp
Expand Up @@ -705,7 +705,7 @@ const char* vmIntrinsics::short_name_as_C_string(vmIntrinsics::ID id, char* buf,

#define ID4(x, y, z, f) ((ID3(x, y, z) << vmIntrinsics::log2_FLAG_LIMIT) | (jlong) (f))

#ifdef ASSERT
#ifndef PRODUCT
static const jlong intrinsic_info_array[vmIntrinsics::ID_LIMIT+1] = {
#define VM_INTRINSIC_INFO(ignore_id, klass, name, sig, fcode) \
ID4(SID_ENUM(klass), SID_ENUM(name), SID_ENUM(sig), vmIntrinsics::fcode),
Expand Down Expand Up @@ -747,4 +747,4 @@ vmIntrinsics::Flags vmIntrinsics::flags_for(vmIntrinsics::ID id) {
assert(((ID4(1021,1022,1023,15) >> shift) & mask) == 15, "");
return Flags( (info >> shift) & mask );
}
#endif // ASSERT
#endif // !PRODUCT
2 changes: 1 addition & 1 deletion src/hotspot/share/classfile/vmIntrinsics.hpp
Expand Up @@ -1092,7 +1092,7 @@ class vmIntrinsics : AllStatic {
return id;
}

#ifdef ASSERT
#ifndef PRODUCT
// Find out the symbols behind an intrinsic:
static vmSymbolID class_for(ID id);
static vmSymbolID name_for(ID id);
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1RemSet.hpp
Expand Up @@ -68,7 +68,7 @@ class G1RemSet: public CHeapObj<mtGC> {

void print_merge_heap_roots_stats();

void assert_scan_top_is_null(uint hrm_index) PRODUCT_RETURN;
void assert_scan_top_is_null(uint hrm_index) NOT_DEBUG_RETURN;
public:

typedef CardTable::CardValue CardValue;
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/stackWatermark.hpp
Expand Up @@ -101,7 +101,7 @@ class StackWatermark : public CHeapObj<mtInternal> {
void yield_processing();
static bool has_barrier(const frame& f);
void ensure_safe(const frame& f);
void assert_is_frame_safe(const frame& f) PRODUCT_RETURN;
void assert_is_frame_safe(const frame& f) NOT_DEBUG_RETURN;
bool is_frame_safe(const frame& f);

// API for consumers of the stack watermark barrier.
Expand Down

0 comments on commit 8c31bd2

Please sign in to comment.