CPC G06F 9/547 (2013.01) [G06F 8/41 (2013.01); G06F 8/437 (2013.01); G06F 9/30076 (2013.01); G06F 9/44521 (2013.01); G06F 9/44536 (2013.01); G06F 9/4488 (2018.02); G06F 9/4494 (2018.02); G06F 9/4498 (2018.02); G06F 9/451 (2018.02); G06F 9/45516 (2013.01); G06F 9/541 (2013.01); G06F 9/542 (2013.01); G06F 9/548 (2013.01); G06F 12/023 (2013.01); G06F 16/2272 (2019.01); G06F 16/2291 (2019.01); G06F 16/289 (2019.01)] | 18 Claims |
1. One or more non-transitory computer readable media storing instructions which, when executed by one or more hardware processors, cause:
identifying a first access instruction to access a first field of a first object within a first context, wherein the first object is expected to be of a first specialized type, and the first specialized type is a first unspecialized type specialized within the first context;
identifying a second specialized type stored in association with the first object;
determining whether the first specialized type matches the second specialized type;
responsive to determining that the first specialized type matches the second specialized type:
identifying a first memory layout associated with one or more of the first specialized type and the second specialized type;
wherein an unspecialized memory layout is associated with the first unspecialized type, and the first memory layout and the unspecialized memory layout are different;
accessing the first field of the first object based on the first memory layout.
|