-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b105
Depending on -XX:ReservedCodeCacheSize and -XX:CodeCacheExpansion size it may happen that the ReservedCodeCacheSize is not a multiple of CodeCacheExpansionSize leading to the last possible CodeHeap expansion to fail.
We may disable compilation although there is still free space in the code cache:
CodeCache extended to [0x00007ff6b0de6000, 0x00007ff6bfdde000] (251625472 bytes)
CodeCache extended to [0x00007ff6b0de6000, 0x00007ff6bfde5000] (251654144 bytes)
Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=245760Kb used=245755Kb max_used=245755Kb free=4Kb
bounds [0x00007ff6b0de6000, 0x00007ff6bfde5000, 0x00007ff6bfde6000]
total_blobs=904 nmethods=281 adapters=498
compilation: disabled (not enough contiguous free space left)
Happens both with and without code cache segmentation.
We may disable compilation although there is still free space in the code cache:
CodeCache extended to [0x00007ff6b0de6000, 0x00007ff6bfdde000] (251625472 bytes)
CodeCache extended to [0x00007ff6b0de6000, 0x00007ff6bfde5000] (251654144 bytes)
Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=245760Kb used=245755Kb max_used=245755Kb free=4Kb
bounds [0x00007ff6b0de6000, 0x00007ff6bfde5000, 0x00007ff6bfde6000]
total_blobs=904 nmethods=281 adapters=498
compilation: disabled (not enough contiguous free space left)
Happens both with and without code cache segmentation.