RFR: 8331920: ubsan: g1CardSetContainers.inline.hpp:266:5: runtime error: index 2 out of bounds for type 'G1CardSetHowl::ContainerPtr [2]' reported [v2]

Thomas Schatzl tschatzl at openjdk.org
Wed May 22 10:25:02 UTC 2024


On Wed, 22 May 2024 10:02:23 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> > > However I am not sure why ubsan did not complain about the `_data` member of `G1CardSetArray` the same way.
> > 
> > 
> > It does complain. Should I fix that in this PR? Was planning to fix in follow up.
> 
> Follow-up is fine.

Actually ubsan did also report that issue about `G1CardSetArray`, it has been added as comment to this issue (https://bugs.openjdk.org/browse/JDK-8331920?focusedId=14671937&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14671937). Still I think it is fine to create an extra CR.

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

PR Comment: https://git.openjdk.org/jdk/pull/19300#issuecomment-2124439410


More information about the hotspot-gc-dev mailing list