Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java basics garbage collection

is garbage collection algorithm in java "vendor implemented?"

like image 832
Abhishek Sanghvi Avatar asked Aug 30 '09 06:08

Abhishek Sanghvi


1 Answers

From the introduction paragraph to Chapter 3 of the Java Virtual Machine Specification:

For example, the memory layout of run-time data areas, the garbage-collection algorithm used, and any internal optimization of the Java virtual machine instructions (for example, translating them into machine code) are left to the discretion of the implementor. [emphasis mine]

like image 113
Brandon E Taylor Avatar answered Oct 22 '22 11:10

Brandon E Taylor