Ephemerons for Java
Florent Guillaume
fguillaume at nuxeo.com
Tue Jan 10 00:55:48 UTC 2017
Hi,
Peter Levart discussed a prototype for Ephemerons a year ago:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-January/038094.html
Florent
On Tue, Jan 10, 2017 at 1:36 AM, Jochen Theodorou <blackdrag at gmx.org> wrote:
> Hi all,
>
> This is kind of a feature request... What I would like to have is a new
> Reference variant that allows me to keep an instance alive for as long as
> the class of the object is alive, without the instance keeping the class
> alive.
>
> In the end I would like to be able to store values, but don´t keep the
> classes involved from being garbage collected. I am especially thinking
> here about a combination of ClassValue and this Ephemeron (?) that allows
> me to cache values on classes, without preventing class unloading.
>
> Is there any chance for this making its way into the JVM? What would
> prevent this?
>
> bye Jochen
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
--
[image: Nuxeo]
Florent Guillaume – Director of R&D
Twitter @efge
+33 1 40 33 79 87
nuxeo.com <https://www.nuxeo.com/>
*HYPERSCALE DIGITAL ASSET MANAGEMENT*
UNLOCK THE FULL VALUE OF YOUR DIGITAL ASSETS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20170110/ce087ed8/attachment.html>
More information about the mlvm-dev
mailing list