ClassValue perf?

Michael Haupt michael.haupt at oracle.com
Thu May 19 10:58:19 UTC 2016


Hi Christian,

> Am 06.05.2016 um 22:35 schrieb Christian Thalinger <christian.thalinger at oracle.com>:
>> Given that one concern with this issue, next to reducing footprint, was to optimise for the single-value case, I'm still a bit hesitant even though the sheer amount of code reduction is impressive. I'll evaluate further.
> 
> The main motivation to optimize for the single-value use case is Graal but it’s not super important.  Graal solved this issue in a different way and it’s questionable Graal would go back using ClassValue so don’t worry too much about it.

IIRC Graal has adopted static field storage for its single-value case. Beating that with a solution that has to have the flexibility of multiple values as well? Fat chance. :-)

Thanks for confirming,

Michael

-- 

 <http://www.oracle.com/>
Dr. Michael Haupt | Principal Member of Technical Staff
Phone: +49 331 200 7277 | Fax: +49 331 200 7561
Oracle Java Platform Group | LangTools Team | Nashorn
Oracle Deutschland B.V. & Co. KG | Schiffbauergasse 14 | 14467 Potsdam, Germany

ORACLE Deutschland B.V. & Co. KG | Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V. | Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
 <http://www.oracle.com/commitment>	Oracle is committed to developing practices and products that help protect the environment

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20160519/9147e816/attachment.html>


More information about the mlvm-dev mailing list