hg: code-tools/jol: 7901085: VMSupport.guessAlignment calls System.gc, deteriorates performance when used as a library

aleksey.shipilev at oracle.com aleksey.shipilev at oracle.com
Wed Nov 5 20:40:53 UTC 2014


Changeset: c58aecad901f
Author:    shade
Date:      2014-11-05 23:40 +0300
URL:       http://hg.openjdk.java.net/code-tools/jol/rev/c58aecad901f

7901085: VMSupport.guessAlignment calls System.gc, deteriorates performance when used as a library
Summary: Revisit the guessAlignment implementation, get rid of System.gc.

! jol-core/src/main/java/org/openjdk/jol/util/MathUtil.java
! jol-core/src/main/java/org/openjdk/jol/util/VMSupport.java



More information about the jol-dev mailing list