align_up contains (size + alignment_mask(alignment)), which could overflow and produce an incorrect result. There should be an assert to check for such.
- relates to
-
JDK-8345126 [BACKOUT] JDK-8318127: align_up has potential overflow
- Resolved
-
JDK-8345005 Validate alignment in align_down and related functions
- Open
- links to
-
Commit(master) openjdk/jdk/49480628
-
Review(master) openjdk/jdk/20808