hg: amber/amber: 0000000: Revise library support

Remi Forax forax at univ-mlv.fr
Mon Mar 12 07:07:18 UTC 2018

Hi Jim,
i'm not a big fan of using streams inside the String class, for several reasons,
it may create VM bootstrap error if one of these methods is used early when bootstrapping the VM when method handles/lambdas are not yet fully initialized and in term of performance, String methods tend to be used at leaf of method graph calls so calling Stream methods in these methods may not be optimized well because there is not enough inlining budget left at that point.


----- Mail original -----
> De: "Jim Laskey" <james.laskey at oracle.com>
> À: "amber-dev" <amber-dev at openjdk.java.net>
> Envoyé: Vendredi 9 Mars 2018 20:03:51
> Objet: hg: amber/amber: 0000000: Revise library support

> Changeset: 5a2e574f43fb
> Author:    jlaskey
> Date:      2018-03-09 14:58 -0400
> URL:       http://hg.openjdk.java.net/amber/amber/rev/5a2e574f43fb
> 0000000: Revise library support
> ! src/java.base/share/classes/java/lang/String.java
> ! src/java.base/share/classes/java/lang/StringLatin1.java
> ! src/java.base/share/classes/java/lang/StringUTF16.java
> ! test/jdk/java/lang/String/RawStringLiteralLib.java

More information about the amber-dev mailing list