[lworld] RFR: JDK-8252061 [lword] Support Object::toString for inline type

Roger Riggs rriggs at openjdk.java.net
Tue Aug 25 17:32:34 UTC 2020


On Thu, 20 Aug 2020 01:40:40 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> This adds the `Object::toString` support for inline classes.  This will replace the need
> for javac to generate the `toString` method to call the bootstrap method.
> 
> JDK-8206077 will revisit the overlap of `ValueBootstrapMethods` and `ObjectMethods`.
> 
> This patch also removes the private `isSubstituable0` method and makes sure
> that `isSubstitutable` does not have `acmp` instruction and can be invoked by VM.

Marked as reviewed by rriggs (Committer).

-------------

PR: https://git.openjdk.java.net/valhalla/pull/155


More information about the valhalla-dev mailing list