-
Notifications
You must be signed in to change notification settings - Fork 728
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct the handling of hidden class field comparisions
When using jitFieldsAreSame to compare the fields of two distinct hidden classes, the result can be a false positive if the field names and data types match. This can result in disastrous symref sharing for hidden class stores/loads. Hidden classes generated within the same host class do not have distinct class names, but share the same field names with different field data types and offsets. Therefore, name-based check for whether fields are same can result in false positives when it comes to hidden classes unless the fields are from the same j9class objects. Signed-off-by: Nazim Bhuiyan <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters