See comment:
https://bugs.openjdk.java.net/browse/JDK-8270886?focusedCommentId=14436521&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14436521
in JDK-8270886. This failure is unrelated to JDK-8270886.
To reproduce:
Run test/hotspot/jtreg/compiler/c2/Test7179138_1.java with "-XX:-ReduceInitialCardMarks -XX:-ReduceBulkZeroing -XX:-ReduceFieldZeroing -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+StressIGVN -XX:RepeatCompilation=100" (might need multiple runs to reproduce)