Skip to content

Commit 8c31bd2

Browse files
author
Vladimir Ivanov
committed
8256275: Optimized build is broken
Reviewed-by: redestad, coleenp
1 parent b0c28fa commit 8c31bd2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/hotspot/share/classfile/vmIntrinsics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ const char* vmIntrinsics::short_name_as_C_string(vmIntrinsics::ID id, char* buf,
705705

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

708-
#ifdef ASSERT
708+
#ifndef PRODUCT
709709
static const jlong intrinsic_info_array[vmIntrinsics::ID_LIMIT+1] = {
710710
#define VM_INTRINSIC_INFO(ignore_id, klass, name, sig, fcode) \
711711
ID4(SID_ENUM(klass), SID_ENUM(name), SID_ENUM(sig), vmIntrinsics::fcode),
@@ -747,4 +747,4 @@ vmIntrinsics::Flags vmIntrinsics::flags_for(vmIntrinsics::ID id) {
747747
assert(((ID4(1021,1022,1023,15) >> shift) & mask) == 15, "");
748748
return Flags( (info >> shift) & mask );
749749
}
750-
#endif // ASSERT
750+
#endif // !PRODUCT

src/hotspot/share/classfile/vmIntrinsics.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ class vmIntrinsics : AllStatic {
10921092
return id;
10931093
}
10941094

1095-
#ifdef ASSERT
1095+
#ifndef PRODUCT
10961096
// Find out the symbols behind an intrinsic:
10971097
static vmSymbolID class_for(ID id);
10981098
static vmSymbolID name_for(ID id);

src/hotspot/share/gc/g1/g1RemSet.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class G1RemSet: public CHeapObj<mtGC> {
6868

6969
void print_merge_heap_roots_stats();
7070

71-
void assert_scan_top_is_null(uint hrm_index) PRODUCT_RETURN;
71+
void assert_scan_top_is_null(uint hrm_index) NOT_DEBUG_RETURN;
7272
public:
7373

7474
typedef CardTable::CardValue CardValue;

src/hotspot/share/runtime/stackWatermark.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class StackWatermark : public CHeapObj<mtInternal> {
101101
void yield_processing();
102102
static bool has_barrier(const frame& f);
103103
void ensure_safe(const frame& f);
104-
void assert_is_frame_safe(const frame& f) PRODUCT_RETURN;
104+
void assert_is_frame_safe(const frame& f) NOT_DEBUG_RETURN;
105105
bool is_frame_safe(const frame& f);
106106

107107
// API for consumers of the stack watermark barrier.

0 commit comments

Comments
 (0)