![Mastering Java 11](https://wfqqreader-1252317822.image.myqcloud.com/cover/399/36699399/b_36699399.jpg)
上QQ阅读APP看书,第一时间看更新
Memory allocation
The code heap containing non-method code is used for JVM internal code and consists of a 3 MB fixed memory block. The rest of the code cache memory is equally allocated for the profiled code and non-profiled code segments. You have control of this via command line commands.
The following command can be used to define the code heap size for the non-method compiled code:
-XX:NonMethodCodeHeapSize
The following command can be used to define the code heap size for the profiled compiled methods:
-XX:ProfiledCodeHeapSize
The following command can be used to define the code heap size for the non-profiled compiled methods:
-XX:NonProfiledCodeHeapSize
This feature certainly stands to improve Java application efficiency. It also impacts other processes that employ the code cache.