align_up contains (size + alignment_mask(alignment)), which could overflow and produce an incorrect result. There should be an assert to check for such.
- is cloned by
-
JDK-8346916 [REDO] align_up has potential overflow
-
- Open
-
- 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