mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-04 15:15:23 +00:00
Disable runtime check in PRODUCT mode.
This commit is contained in:
parent
f94212a15b
commit
44c0b980ec
@ -279,10 +279,12 @@ void C1_MacroAssembler::load_parameter(int offset_in_words, Register reg) {
|
||||
// Randomized profile capture.
|
||||
|
||||
void C1_MacroAssembler::step_random(Register state, Register temp, Register data) {
|
||||
#ifndef PRODUCT
|
||||
Label not_zero;
|
||||
cbnzw(r_profile_rng, not_zero);
|
||||
stop("non-zero required before step");
|
||||
bind(not_zero);
|
||||
#endif
|
||||
if (VM_Version::supports_crc32()) {
|
||||
/* CRC used as a pseudo-random-number generator */
|
||||
// In effect, the CRC instruction is being used here for its
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user