Ephemerons for Java

2017-01-09 Thread Jochen Theodorou
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 do

Re: Ephemerons for Java

2017-01-09 Thread John Rose
On Jan 9, 2017, at 4:36 PM, Jochen Theodorou 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 ali

Re: Ephemerons for Java

2017-01-09 Thread Florent Guillaume
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 wrote: > Hi all, > > This is kind of a feature request... What I would like to have is a n

Re: Ephemerons for Java

2017-01-09 Thread John Rose
On Jan 9, 2017, at 4:55 PM, Florent Guillaume wrote: > > Peter Levart discussed a prototype for Ephemerons a year ago: > > http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-January/038094.html > > > Florent

Re: Ephemerons for Java

2017-01-09 Thread John Rose
On Jan 9, 2017, at 5:27 PM, John Rose wrote: > Thanks! That's a great start. Should be a JEP. — John P.S. You got me. I filed https://bugs.openjdk.java.net/browse/JDK-8172476 to help track this. ___ mlvm-dev mailing list mlvm-dev@openjdk.java.ne

Re: Ephemerons for Java

2017-01-09 Thread Jochen Theodorou
On 10.01.2017 03:49, John Rose wrote: On Jan 9, 2017, at 5:27 PM, John Rose mailto:john.r.r...@oracle.com>> wrote: Thanks! That's a great start. Should be a JEP. — John P.S. You got me. I filed https://bugs.openjdk.java.net/browse/JDK-8172476 to help track this. I have the feeling the