8322781: C1: Debug build crash in GraphBuilder::vmap() when print stats
Reviewed-by: kvn, thartmann, shade
This commit is contained in:
parent
df22fb322e
commit
27d5f5c237
@ -4468,7 +4468,9 @@ void GraphBuilder::append_unsafe_get_and_set(ciMethod* callee, bool is_add) {
|
|||||||
|
|
||||||
#ifndef PRODUCT
|
#ifndef PRODUCT
|
||||||
void GraphBuilder::print_stats() {
|
void GraphBuilder::print_stats() {
|
||||||
vmap()->print();
|
if (UseLocalValueNumbering) {
|
||||||
|
vmap()->print();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif // PRODUCT
|
#endif // PRODUCT
|
||||||
|
|
||||||
|
@ -57,6 +57,17 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @test
|
||||||
|
* @bug 8322781
|
||||||
|
* @requires vm.debug
|
||||||
|
* @summary Test flag with c1 value numbering
|
||||||
|
*
|
||||||
|
* @run main/othervm -XX:+PrintValueNumbering -XX:+Verbose -XX:-UseLocalValueNumbering
|
||||||
|
* -Xcomp -XX:TieredStopAtLevel=1
|
||||||
|
* compiler.arguments.TestC1Globals
|
||||||
|
*/
|
||||||
|
|
||||||
package compiler.arguments;
|
package compiler.arguments;
|
||||||
|
|
||||||
public class TestC1Globals {
|
public class TestC1Globals {
|
||||||
|
Loading…
Reference in New Issue
Block a user