hg: jdk9/hs-comp/hotspot: 8029343: CodeCache::allocate increments '_number_of_blobs' even if allocation fails.

albert.noll at oracle.com albert.noll at oracle.com
Fri May 9 08:28:34 UTC 2014


Changeset: 53acad1e7f52
Author:    anoll
Date:      2014-05-09 09:12 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/53acad1e7f52

8029343: CodeCache::allocate increments '_number_of_blobs' even if allocation fails.
Summary: Incrementing the number of code blobs in CodeCache::allocate(...) is now only performed if allocation succeeds. The guarantee is fixed.
Reviewed-by: kvn, iveresov
Contributed-by: Tobias Hartmann <tobias.hartmann at oracle.com>

! src/share/vm/code/codeCache.cpp



More information about the jdk9-all-changes mailing list