Value type hash code (original) (raw)
forax at univ-mlv.fr forax at univ-mlv.fr
Thu Apr 12 07:41:32 UTC 2018
- Previous message (by thread): Value type hash code
- Next message (by thread): Value type hash code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----- Mail original -----
De: "Paul Sandoz" <paul.sandoz at oracle.com> À: "John Rose" <john.r.rose at oracle.com> Cc: "Remi Forax" <forax at univ-mlv.fr>, "valhalla-dev" <valhalla-dev at openjdk.java.net> Envoyé: Jeudi 12 Avril 2018 03:02:55 Objet: Re: Value type hash code
On Apr 11, 2018, at 1:27 PM, John Rose <john.r.rose at oracle.com> wrote: The most I'd like to see in value type classfiles is a one line hashCode (and equals, toString):
hashCode() { return indyBootstraps::valueHashCode } And in fact, I would prefer to have this stereotyped code be inherited (by a new VM feature "mindy" = method instance dynamic.) …That's me wanting to sand down all the corners. I cannot resist… if all fields are are constant then cindy, mindy’s constant companion :-) Paul.
instead of method instance dynamic, i prefer class dynamic, or classy.
Rémi
- Previous message (by thread): Value type hash code
- Next message (by thread): Value type hash code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]