Re: RFR: JDK-8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method

2022-03-03 Thread Joe Darcy
On Thu, 3 Mar 2022 14:30:34 GMT, Claes Redestad wrote: > This is also only a partial solution, since the initial array is created and > injected by the VM on a "root" Constructor/Method, see for example the code > for new method: > >

Re: RFR: JDK-8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method

2022-03-03 Thread Claes Redestad
On Wed, 2 Mar 2022 20:28:45 GMT, Joe Darcy wrote: > Refactoring of Method and Constructor to share a single empty array for > parameters and exceptions as well as type variables. > > Existing core reflection regression tests pass with the change. This is also only a partial solution, since

Re: RFR: JDK-8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method

2022-03-03 Thread Claes Redestad
On Wed, 2 Mar 2022 20:28:45 GMT, Joe Darcy wrote: > Refactoring of Method and Constructor to share a single empty array for > parameters and exceptions as well as type variables. > > Existing core reflection regression tests pass with the change.

Re: RFR: JDK-8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method

2022-03-03 Thread Claes Redestad
On Wed, 2 Mar 2022 20:28:45 GMT, Joe Darcy wrote: > Refactoring of Method and Constructor to share a single empty array for > parameters and exceptions as well as type variables. > > Existing core reflection regression tests pass with the change.

Re: RFR: JDK-8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method

2022-03-02 Thread Mandy Chung
On Wed, 2 Mar 2022 20:28:45 GMT, Joe Darcy wrote: > Refactoring of Method and Constructor to share a single empty array for > parameters and exceptions as well as type variables. > > Existing core reflection regression tests pass with the change. Marked as reviewed by mchung (Reviewer).

Re: RFR: JDK-8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method

2022-03-02 Thread Joe Darcy
On Wed, 2 Mar 2022 20:28:45 GMT, Joe Darcy wrote: > Refactoring of Method and Constructor to share a single empty array for > parameters and exceptions as well as type variables. > > Existing core reflection regression tests pass with the change. PS I'll update the copyrights before pushing.

RFR: JDK-8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method

2022-03-02 Thread Joe Darcy
Refactoring of Method and Constructor to share a single empty array for parameters and exceptions as well as type variables. Existing core reflection regression tests pass with the change. - Commit messages: - JDK-8177107: Reduce memory footprint of