| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
This leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
This leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
On little endian, I would prefer having all memory to be initialized, the workaround should be temporary as we phase out TF.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Arash KazemiThis leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
On little endian, I would prefer having all memory to be initialized, the workaround should be temporary as we phase out TF.
Sounds good, thank you both for reviewing.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Fix `FixedArray::length` on big endian
Needed after the changes made by http://crrev.com/c/7594595.
The fix is to use the same implementation as pointer compressed
builds.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Arash KazemiThis leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
Milad FarazmandOn little endian, I would prefer having all memory to be initialized, the workaround should be temporary as we phase out TF.
Sounds good, thank you both for reviewing.
Hello, sorry to bug you again,
Just wanted to ask, you don't suspect this uninitialized padding_ will become an issue for us in the mean time correct?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Arash KazemiThis leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
Milad FarazmandOn little endian, I would prefer having all memory to be initialized, the workaround should be temporary as we phase out TF.
Milad FarazmandSounds good, thank you both for reviewing.
Hello, sorry to bug you again,
Just wanted to ask, you don't suspect this uninitialized padding_ will become an issue for us in the mean time correct?
I doubt there will be future changes related to the uninitialized padding, I just think that having uninitialized memory even if not accessed could create difficult to debug issues. The current testing or fuzzing might not cover this case because the length used to be a Smi.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Arash KazemiThis leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
Milad FarazmandOn little endian, I would prefer having all memory to be initialized, the workaround should be temporary as we phase out TF.
Milad FarazmandSounds good, thank you both for reviewing.
Arash KazemiHello, sorry to bug you again,
Just wanted to ask, you don't suspect this uninitialized padding_ will become an issue for us in the mean time correct?
I doubt there will be future changes related to the uninitialized padding, I just think that having uninitialized memory even if not accessed could create difficult to debug issues. The current testing or fuzzing might not cover this case because the length used to be a Smi.
Make sense, so do you think the current BE workaround will remain in place even after TF is removed? I just want to see if we need to invest time and add the initialization to BE as well or we can leave it as is.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Arash KazemiThis leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
Milad FarazmandOn little endian, I would prefer having all memory to be initialized, the workaround should be temporary as we phase out TF.
Milad FarazmandSounds good, thank you both for reviewing.
Arash KazemiHello, sorry to bug you again,
Just wanted to ask, you don't suspect this uninitialized padding_ will become an issue for us in the mean time correct?
Milad FarazmandI doubt there will be future changes related to the uninitialized padding, I just think that having uninitialized memory even if not accessed could create difficult to debug issues. The current testing or fuzzing might not cover this case because the length used to be a Smi.
Make sense, so do you think the current BE workaround will remain in place even after TF is removed? I just want to see if we need to invest time and add the initialization to BE as well or we can leave it as is.
The workaround is only for Turbofan, in maglev we already use 2 uint32_t values. So once we remove TF this code including the BE part will be removed.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Arash KazemiThis leaves `padding_` uninitialized on BE but since no test is failing I assume it's not being accessed, in which case why don't we make `MachineType::Uint32()` unconditional under `ForFixedArrayLength()`? why is `MachineType::Uint64()` even needed?
Milad FarazmandOn little endian, I would prefer having all memory to be initialized, the workaround should be temporary as we phase out TF.
Milad FarazmandSounds good, thank you both for reviewing.
Arash KazemiHello, sorry to bug you again,
Just wanted to ask, you don't suspect this uninitialized padding_ will become an issue for us in the mean time correct?
Milad FarazmandI doubt there will be future changes related to the uninitialized padding, I just think that having uninitialized memory even if not accessed could create difficult to debug issues. The current testing or fuzzing might not cover this case because the length used to be a Smi.
Arash KazemiMake sense, so do you think the current BE workaround will remain in place even after TF is removed? I just want to see if we need to invest time and add the initialization to BE as well or we can leave it as is.
The workaround is only for Turbofan, in maglev we already use 2 uint32_t values. So once we remove TF this code including the BE part will be removed.
Thank you so much for confirming.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |