April 2018
Intermediate to advanced
910 pages
33h 21m
English
Currently, when metaspace chunks are freed, they cannot be used as different sized chunks. So, if metaspace chunk A was freed and was of size X, that space cannot be reused for a metaspace chunk greater than or less than size X. This results in a tremendous amount of unusable metaspace waste. This can also lead to out-of-memory errors.
A future change to the JDK will resolve this issue by increasing the reuse of metaspace chunks. The change will support the following cases:
This proposed change resolves the issue by ensuring smaller chunks can be reused and that larger chunks are not wasted as they can be split ...