align_up contains (size + alignment_mask(alignment)), which could overflow and produce an incorrect result. There should be an assert to check for such.
- clones
-
JDK-8318127 align_up has potential overflow
-
- Closed
-
- is blocked by
-
JDK-8346923 MetaspaceShared base calculation may cause overflow in align_up
-
- Resolved
-
- relates to
-
JDK-8345005 Validate alignment in align_down and related functions
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/86860cac
-
Commit(master) openjdk/jdk/49480628
-
Review(master) openjdk/jdk/20808
-
Review(master) openjdk/jdk/23711
(2 links to)