Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-8266787
Potential overflow of pointer arithmetic in G1ArchiveAllocator
Log In
Export
XML
Word
Printable
Details
Type:
Bug
Status:
Resolved
Priority:
P4
Resolution:
Fixed
Affects Version/s:
17
Fix Version/s:
17
Component/s:
hotspot
Labels:
gc-g1
Subcomponent:
gc
Resolved In Build:
b22
Description
In `G1ArchiveAllocator::archive_mem_allocate`, the addition, `HeapWord* new_top = old_top + word_size;`, could overflow. Should use `pointer_delta` to check if there's enough space left firstly.
Attachments
Issue Links
links to
Commit
openjdk/jdk/6575566d
Review
openjdk/jdk/3936
Activity
People
Assignee:
Albert Yang
Reporter:
Albert Yang
Votes:
0
Vote for this issue
Watchers:
4
Start watching this issue
Dates
Created:
2021-05-08 12:36
Updated:
2021-05-17 17:40
Resolved:
2021-05-11 03:35