Re: Using non-parallel custom class loaders for Layer configurations

2016-10-10 Thread Brent Christian
On 9/9/16 12:05 PM, Mandy Chung wrote: I file a RFE and Brent Christian has agreed to work on it and will go through JDK 9 FC approval request. https://bugs.openjdk.java.net/browse/JDK-8165793 FYI, the review thread is here: http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-Octobe

Re: Using non-parallel custom class loaders for Layer configurations

2016-09-09 Thread David M. Lloyd
On 09/09/2016 02:05 PM, Mandy Chung wrote: On Sep 9, 2016, at 8:44 AM, David M. Lloyd wrote: On 09/08/2016 06:48 PM, Mandy Chung wrote: On Sep 8, 2016, at 3:29 PM, David M. Lloyd wrote: Would it be possible to include a method like this (pretty old patch I had laying around): diff --gi

Re: Using non-parallel custom class loaders for Layer configurations

2016-09-09 Thread Mandy Chung
> On Sep 9, 2016, at 8:44 AM, David M. Lloyd wrote: > > On 09/08/2016 06:48 PM, Mandy Chung wrote: >> >>> On Sep 8, 2016, at 3:29 PM, David M. Lloyd wrote: >>> >>> Would it be possible to include a method like this (pretty old patch I had >>> laying around): >>> >>> diff --git a/jdk/src/jav

Re: Using non-parallel custom class loaders for Layer configurations

2016-09-09 Thread David M. Lloyd
On 09/09/2016 11:26 AM, Alan Bateman wrote: On 08/09/2016 23:29, David M. Lloyd wrote: Is it not necessary that any class loader in use by a Layer must be parallel-capable? Otherwise it seems like deadlocks could occur in certain situations when there are references that are cyclic with respec

Re: Using non-parallel custom class loaders for Layer configurations

2016-09-09 Thread Alan Bateman
On 08/09/2016 23:29, David M. Lloyd wrote: Is it not necessary that any class loader in use by a Layer must be parallel-capable? Otherwise it seems like deadlocks could occur in certain situations when there are references that are cyclic with respect to class loaders mapped by the mapping fu

Re: Using non-parallel custom class loaders for Layer configurations

2016-09-09 Thread David M. Lloyd
On 09/08/2016 06:48 PM, Mandy Chung wrote: On Sep 8, 2016, at 3:29 PM, David M. Lloyd wrote: Would it be possible to include a method like this (pretty old patch I had laying around): diff --git a/jdk/src/java.base/share/classes/java/lang/ClassLoader.java b/jdk/src/java.base/share/classes/

Re: Using non-parallel custom class loaders for Layer configurations

2016-09-08 Thread Mandy Chung
> On Sep 8, 2016, at 3:29 PM, David M. Lloyd wrote: > > Would it be possible to include a method like this (pretty old patch I had > laying around): > > diff --git a/jdk/src/java.base/share/classes/java/lang/ClassLoader.java > b/jdk/src/java.base/share/classes/java/lang/ClassLoader.java > ind