8072016: Array copy may cause infinite cycle of deoptimization/compilation

Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation

Reviewed-by: kvn, vlivanov
This commit is contained in:
Roland Westrelin 2015-02-09 15:10:58 +01:00
parent a967f754a2
commit e6ac3ca09e
4 changed files with 170 additions and 5 deletions

View file

@ -29,8 +29,6 @@
*
*/
import java.lang.invoke.*;
public class TestArrayCopyNoInit {
static int[] m1(int[] src) {
@ -134,7 +132,7 @@ public class TestArrayCopyNoInit {
return dest;
}
static public void main(String[] args) throws Throwable {
static public void main(String[] args) {
boolean success = true;
int[] src = new int[10];
TestArrayCopyNoInit[] src2 = new TestArrayCopyNoInit[10];