Integrated: JDK-8274435: EXCEPTION_ACCESS_VIOLATION in BFSClosure::closure_impl

Ekaterina Vergizova evergizova at openjdk.java.net
Fri Oct 1 12:56:31 UTC 2021


On Tue, 28 Sep 2021 11:08:48 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:

> Hi,
> please review this small change that prevents EXCEPTION_ACCESS_VIOLATION on some Windows machines.
> The crash is intermittently reproducible on win32 client jvm when running e.g. jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java test.
> It is caused by BitSet::get_fragment_bits method which returns null for the newly initialized BitSet if granule (= addr >> _bitmap_granularity_shift) is equal to 0.
> 
> Testing:
> jdk/jfr/* with win32 and win64 builds, no crashes or regression after the fix.

This pull request has now been integrated.

Changeset: c05dc268
Author:    Ekaterina Vergizova <evergizova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c05dc268acaf87236f30cf700ea3ac778e3b20e5
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8274435: EXCEPTION_ACCESS_VIOLATION in BFSClosure::closure_impl

Reviewed-by: stefank

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

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


More information about the hotspot-jfr-dev mailing list