IdentityObject and InlineObject

forax at forax at
Fri Dec 6 22:16:14 UTC 2019

----- Mail original -----
> De: "Brian Goetz" <brian.goetz at>
> À: "Remi Forax" <forax at>
> Cc: "valhalla-spec-experts" <valhalla-spec-experts at>
> Envoyé: Vendredi 6 Décembre 2019 22:59:07
> Objet: Re: IdentityObject and InlineObject

>> Currently something typed Object represent either any or ref, we decide that
>> most of the Object represents any, so we still have to change some of the
>> Object that represent ref.
> Keep pulling on this string .. exactly WHAT will have to change? Let's
> have some specific examples, and then we can talk about how common they
> will be, and whether there are not other mitigating options.  I worry
> you may be assuming something that isn't there.

package java.util;
public class IdentityHashMap<E extends IdentityObject> { ... }

public class IOReader {
  protected IdentityObject lock;

package java.awt;
public class Component {
  public IdentityObject getTreeLock() { ... }

and so on.


More information about the valhalla-spec-observers mailing list