RFR(S): 8216989 - CardTableBarrierSetAssembler::gen_write_ref_array_post_barrier() does not check for zero length on AARCH64
Dmitrij Pochepko
dmitrij.pochepko at bell-sw.com
Mon Mar 18 17:03:04 UTC 2019
Hi all,
please review patch for JDK-8216989
CardTableBarrierSetAssembler::gen_write_ref_array_post_barrier() does
not check for zero length on AARCH64
webrev: http://cr.openjdk.java.net/~dpochepk/8216989/webrev.01/
All platforms except AARCH64 performs zero length check in arraycopy
post barrier and skip card marking for zero length arrays. Missing check
can lead to wrong card marking. This patch adds such check.
Testing (using parallel gc, because default g1 is not affected):
- JCK
- jtreg hotspot tests: compiler/*, gc/* and runtime/*
- jtreg jdk tier1-3 tests
no regressions found.
CR: https://bugs.openjdk.java.net/browse/JDK-8216989
Thanks,
Dmitrij
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20190318/d1250a3a/attachment.html>
More information about the hotspot-compiler-dev
mailing list