Commit a8c82ae
Implement fast and slow value object hash paths
- Use the recursive fast path for value object hash
computation.
- Use the fast path while the recursion depth is
below J9_VALUE_TYPE_HASH_DEPTH_LIMIT.
- Switch to the iterative path when the recursion
depth limit is exceeded.
- Use a DFS-based queue to traverse value object
fields in the iterative path.
Fixes: #24087
Signed-off-by: Aditi Srinivas M <Aditi.Srini@ibm.com>1 parent f5dbbc3 commit a8c82ae
1 file changed
Lines changed: 400 additions & 194 deletions
0 commit comments