--- a/src/hotspot/share/opto/lcm.cpp Wed Nov 13 11:21:15 2019 +0100
+++ b/src/hotspot/share/opto/lcm.cpp Wed Nov 13 11:37:29 2019 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -958,7 +958,7 @@
ready_cnt.at_put(n->_idx, local); // Count em up
#ifdef ASSERT
- if( UseConcMarkSweepGC || UseG1GC ) {
+ if (UseG1GC) {
if( n->is_Mach() && n->as_Mach()->ideal_Opcode() == Op_StoreCM ) {
// Check the precedence edges
for (uint prec = n->req(); prec < n->len(); prec++) {