This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TheForceTester { | |
public static final int ARRAY_SIZE = 1000000; | |
public static void main(String[] args) { | |
while (true) { | |
byte[] lotsOfUsefulData = new byte[ARRAY_SIZE]; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Universe: AllStatic { | |
// Ugh. Universe is much too friendly. | |
friend class MarkSweep; | |
friend class oopDesc; | |
friend class ClassLoader; | |
friend class Arguments; | |
friend class SystemDictionary; | |
friend class VMStructs; | |
friend class CompactingPermGenGen; | |
friend class VM_PopulateDumpSharedSpace; |
NewerOlder