Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8026556 | 8 | Stefan Karlsson | P2 | Closed | Fixed | b112 |
The suggestion is to make MaxMetaspaceSize limit the committed memory used in both the non-class metaspaces and the compressed class space.
Fixed:
* Word and Bytes mixing: Remove incorrect usage of Metablock::_overhead (
* Word and Bytes mixing: Fix MetaspaceAux::reserved_in_bytes() (JDK-8023476)
* Word and Bytes mixing: Fix MaxMetaspaceSize check (
* Keep track of the committed memory in the metaspaces (
* Make MetaspaceSize limited by MaxMetaspaceSize and not the other way around (
* Fix our metaspace tracing code, which crashes, writes incorrect values (
* Reflect all this in our metaspace counters and mbean pools. (JDK-8023476,
* Fix bugs in TraceMetadata* (
* Log TraceMetadata* output to gclog_or_tty instead of tty (
* Remove incorrect, unused code (
* Some renaming to make the code more self-explanatory (
* Don't over-commit when using large pages, or turn off large pages for the metaspaces. (
* Don't use min_alignment()/max_alignment() to align MetaspaceSize/MaxMetaspaceSize. (
* Compare MaxMetaspaceSize against committed memory (
* Induce GC when compressed class space allocations pass the MaxMetaspaceSize, not only non-class metaspace allocations. (
* Fix metaspace LowMemory/PeakMemory detector - call MemoryService::track_* when allocating metadata (
Deferred suggestions:
* Stop leaving unused reserved memory in non-class metaspaces
* Stop leaving unused committed memory
* Make capacity_until_GC limited by MaxMetaspaceSize
- backported by
-
JDK-8026556 MaxMetaspaceSize should limit the committed memory used by the metaspaces
- Closed
- blocks
-
JDK-8025996 Track metaspace usage when metaspace is expanded
- Resolved
-
JDK-7196801 NPG: Fix java/lang/management/MemoryMXBean/LowMemoryTest2
- Closed
-
JDK-8025089 MetaspaceMemoryPoolMXBean.getUsage() throws "Memory Pool not found" error
- Closed
- duplicates
-
JDK-8024763 [duplicate] MaxMetaspaceSize should limit the committed memory used by the metaspaces
- Closed
- is blocked by
-
JDK-8025526 VirtualSpace should support per-instance disabling of large pages
- Resolved
-
JDK-8024638 Count and expose the amount of committed memory in the metaspaces
- Closed
-
JDK-8024650 Don't adjust MaxMetaspaceSize up to MetaspaceSize
- Closed
-
JDK-8024651 Remove the incorrect usage of Metablock::overhead()
- Closed
-
JDK-8024751 Fix bugs in TraceMetadata
- Closed
-
JDK-8024752 Log TraceMetadata* output to gclog_or_tty instead of tty
- Closed
-
JDK-8025059 Metspace::should_expand mixes bytes and words in check against MaxMetaspaceSize
- Closed
-
JDK-8025096 Move the ChunkManager instances out of the VirtualSpaceLists
- Closed
- relates to
-
JDK-8026698 Incorrect error handling in Metaspace::allocate
- Resolved