Open ThanHenderson opened 2 months ago
@babsingh @hangshao0 Could you guys take a look?
My main point of concern here is "uniqueness" of the uniqueID
s. The Lambda
and LambdaForm
class names are stable with these uniqueID
s included, and the probability of collisions is low but not impossible. This would cause issues if we are doing an early lookup to produce a class from the SCC based only on the class name. In practice, I haven't observed any collisions.
I am open to any other suggestions in how we should be generating the uniqueID
.
This WIP patch accompanies https://github.com/eclipse-openj9/openj9/pull/19763 and replaces the index number in
Lambda
class names with a stable hash-code, and adds a stable hash code to customizedLambdaForm
classes.The intent is to enable:
LambdaForms
to be stored in SCCLambda
andLambdaForm
classesLambdas
when creating ROM classesSigned-off-by: Nathan Henderson nathan.henderson@ibm.com