> It seems that calculation of 
> MemoryMXBean.getNonHeapMemoryUsage(jmm_GetMemoryUsage) is wrong.
> 
> Currently, 
> `NonHeapUsage=CodeCache+Metaspace(ClassTypeSpace+NonClassTypeSpace)+CompressedClassSpace(ClassTypeSpace)`
> 
> ==> CodeHeap 'non-nmethods' 1532544 (Used)
> ==> CodeHeap 'profiled nmethods' 0
> ==> CodeHeap 'non-profiled nmethods' 13952
> ==> Metaspace 506696
> ==> Compressed Class Space 43312
> init = 7667712(7488K) used = 2096504(2047K) committed = 8454144(8256K) max = 
> -1(-1K)
> 
> In this way, getNonHeapMemoryUsage is larger than it ought to be, it should 
> be `NonHeapUsage = CodeCache + Metaspace`.

Yi Yang has updated the pull request incrementally with one additional commit 
since the last revision:

  remove compressed class space pool

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8831/files
  - new: https://git.openjdk.java.net/jdk/pull/8831/files/4551c936..6b2f1be7

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8831&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8831&range=00-01

  Stats: 93 lines in 14 files changed: 3 ins; 76 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8831.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8831/head:pull/8831

PR: https://git.openjdk.java.net/jdk/pull/8831

Reply via email to