Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
The following simple program when run with -Xincgc (or with -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode) causes JVM to hang. public class Allocate { public static void main(String[] args) { int size = Integer.parseInt(args[0]); int[] arr = new int[size]; } }
|