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

Mandy Chung mchung at openjdk.java.net
Tue Aug 25 20:05:14 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.

This pull request has now been integrated.

Changeset: acfed881
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/acfed881
Stats:     438 lines in 12 files changed: 251 ins; 137 del; 50 mod

8252061: [lword] Support Object::toString for inline type

Reviewed-by: sadayapalam, rriggs


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

More information about the valhalla-dev mailing list