-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 19
-
b19
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8311857 | 17.0.9-oracle | Tobias Hartmann | P4 | Resolved | Fixed | b02 |
JDK-8311282 | 17.0.9 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
In LibraryCallKit::get_state_from_digest_object() we call array_element_address() with T_INT, even though the input array might also be T_BYTE or T_LONG. This doesn't currently matter much: array elements always start at the same offset regardless of the element type. In Lilliput I'm trying to tighten the start of array elements though, and this causes problems because I can do smaller alignments for T_BYTE and T_INT, but not for T_LONG.
See also: https://github.com/openjdk/lilliput/pull/41
Let's just use the correct type in array_element_address().
See also: https://github.com/openjdk/lilliput/pull/41
Let's just use the correct type in array_element_address().
- backported by
-
JDK-8311282 Correct type/array element offset in LibraryCallKit::get_state_from_digest_object()
- Resolved
-
JDK-8311857 Correct type/array element offset in LibraryCallKit::get_state_from_digest_object()
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/ce054c91
-
Commit openjdk/jdk/2ba5cc41
-
Review openjdk/jdk17u-dev/1516
-
Review openjdk/jdk/8208
(1 links to)