Skip to content

Commit

Permalink
Merge pull request #7401 from mpirvu/newool
Browse files Browse the repository at this point in the history
Adding more info to CodeCache::printOccupancyStats()
  • Loading branch information
dsouzai authored Jul 10, 2024
2 parents 1d0b3e4 + 58ec479 commit 5e425eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/runtime/OMRCodeCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,9 @@ OMR::CodeCache::printOccupancyStats()
fprintf(stderr, "Code Cache @%p flags=0x%x almostFull=%d\n", this, _flags, _almostFull);
fprintf(stderr, " cold-warm hole size = %8" OMR_PRIuSIZE " bytes\n", self()->getFreeContiguousSpace());
fprintf(stderr, " warmCodeAlloc=%p coldCodeAlloc=%p\n", (void*)_warmCodeAlloc, (void*)_coldCodeAlloc);
size_t warmCodeSize = _warmCodeAlloc - _segment->segmentBase();
size_t coldCodeSize = _trampolineBase - _coldCodeAlloc;
fprintf(stderr, " warmCodeSize= %zu coldCodeSize= %zu\n", warmCodeSize, coldCodeSize);
size_t totalReclaimed = 0;
if (_freeBlockList)
{
Expand Down

0 comments on commit 5e425eb

Please sign in to comment.