TY - JOUR U1 - Zeitschriftenartikel, wissenschaftlich - begutachtet (reviewed) A1 - Jendrosch, Manfred A1 - Dueck, Gerhard W. A1 - Gracie, Charlie A1 - Hinkenjann, André T1 - PC Based Escape Analysis in the Java Virtual Machine JF - LNSE (Lecture Notes on Software Engineering) N2 - Current computer architectures are multi-threaded and make use of multiple CPU cores. Most garbage collections policies for the Java Virtual Machine include a stop-the-world phase, which means that all threads are suspended. A considerable portion of the execution time of Java programs is spent in these stop-the-world garbage collections. To improve this behavior, a thread-local allocation and garbage collection that only affects single threads, has been proposed. Unfortunately, only objects that are not accessible by other threads ("do not escape") are eligible for this kind of allocation. It is therefore necessary to reliably predict the escaping of objects. The work presented in this paper analyzes the escaping of objects based on the line of code (program counter – PC) the object was allocated at. The results show that on average 60-80% of the objects do not escape and can therefore be locally allocated. KW - Garbage collection KW - Memory management KW - Java virtual machine KW - Escape analysis Y1 - 2014 SN - 2301-3559 SS - 2301-3559 U6 - https://doi.org/10.7763/LNSE.2014.V2.87 DO - https://doi.org/10.7763/LNSE.2014.V2.87 VL - 2 IS - 1 SP - 16 EP - 20 ER -