RFR: 8252196: ZGC: TestUncommit.java fails due to "Exception: Uncommitted too fast" again(2)
Stefan Karlsson
stefank at openjdk.java.net
Tue Sep 15 15:54:28 UTC 2020
On Tue, 15 Sep 2020 13:31:08 GMT, Per Lidén <pliden at openjdk.org> wrote:
> This test has failed a few times because the timeAfterAlloc timestamp (the time when uncommit can start to happen) is
> taken at the wrong place. We should take this timestamp before we call allocate(), since the allocation could cause
> ZPageCache::_last_commit to be set, which will dictate when uncommit can happen. This PR moves and renames
> timeAfterAlloc accordingly. Testing: gc/z/TestUncommit.java executed multiple times on all platforms.
Marked as reviewed by stefank (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/179
More information about the hotspot-gc-dev
mailing list