RFR 9: 8138696 : java.lang.ref.Cleaner (original) (raw)
RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization
Chris Hegarty chris.hegarty at oracle.com
Tue Oct 13 19:06:43 UTC 2015
- Previous message: RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization
- Next message: RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 1 Oct 2015, at 15:12, Roger Riggs <Roger.Riggs at oracle.com> wrote:
….
Javadoc: http://cr.openjdk.java.net/~rriggs/cleaner-doc/ Webrev: http://cr.openjdk.java.net/~rriggs/webrev-cleaner-8138696/
This is nice addition. Some comments / questions:
Should the behaviour, TCCL, permissions, etc, for the default thread factory be specified in an apiNote?
threadFactory.newThread() is only ever called once? Is this worth a note? Or potentially limiting to some other implementation.
So the thunk runs with the intersection of the permissions that are associated with the thunk and the thread’s protection domain, regardless of the caller, right?
-Chris
- Previous message: RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization
- Next message: RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]