mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
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:
parent
a967f754a2
commit
e6ac3ca09e
4 changed files with 170 additions and 5 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue