RFR: 8257228: G1: SIGFPE in G1ConcurrentRefine::create(int*) due to buffers_to_cards overflow [v3]
Jie Fu
jiefu at openjdk.java.net
Mon Nov 30 09:02:10 UTC 2020
> Hi all,
>
> SIGFPE was observed by running:
> java -XX:G1ConcRefinementThresholdStep=16G -XX:G1UpdateBufferSize=1G -version
>
> The reason is that buffers_to_cards [1] returns 0 for 'step' due to overflow.
> It would be better to add overflow check logic is it.
>
> Testing:
> - tier1 on Linux/x64
>
> Thanks.
> Best regards,
> Jie
>
> [1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/g1/g1ConcurrentRefine.cpp#L235
Jie Fu has updated the pull request incrementally with one additional commit since the last revision:
Fix build error without PCH
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/1489/files
- new: https://git.openjdk.java.net/jdk/pull/1489/files/76dec20a..e3ea5de1
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1489&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1489&range=01-02
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/1489.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1489/head:pull/1489
PR: https://git.openjdk.java.net/jdk/pull/1489
More information about the hotspot-gc-dev
mailing list