Re: RFR: 8236075: Minor bootstrap improvements

2020-01-21 Thread Claes Redestad
Mandy, Alan, thank you for reviewing! /Claes On 2020-01-21 08:58, Alan Bateman wrote: On 20/01/2020 22:16, Claes Redestad wrote: : Ok, new version here: http://cr.openjdk.java.net/~redestad/8236075/open.02/ Good look. -Alan.

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-21 Thread Claes Redestad
Hi Sergey, as per usual: verification mainly by running a "Hello World"-style apps repeatedly via: perf stat -r 250 $JAVA_HOME/bin/java Hello (FTR, this is one of the least impactful startup improvements I've shepherded, on my machine the net effect is ~0.1-0.2% reduction on Hello World;

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-21 Thread Alan Bateman
On 20/01/2020 22:16, Claes Redestad wrote: : Ok, new version here: http://cr.openjdk.java.net/~redestad/8236075/open.02/ Good look. -Alan.

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-20 Thread Sergey Bylokhov
Hi Claes, How did you measure this performance improvement? On 1/20/20 7:54 am, Claes Redestad wrote: Hi, some minor cleanups and enhancements in and around java.lang.ClassLoader which add up to a small startup improvement: - Remove use of Vector/Hashtable from ClassLoader, along with a few

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-20 Thread Mandy Chung
On 1/20/20 2:16 PM, Claes Redestad wrote: Ok, new version here: http://cr.openjdk.java.net/~redestad/8236075/open.02/ +1 Mnady

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-20 Thread Claes Redestad
On 2020-01-20 22:00, Mandy Chung wrote: On 1/20/20 12:46 PM, Alan Bateman wrote: On 20/01/2020 15:54, Claes Redestad wrote: Hi, some minor cleanups and enhancements in and around java.lang.ClassLoader which add up to a small startup improvement: - Remove use of Vector/Hashtable from

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-20 Thread Mandy Chung
On 1/20/20 12:46 PM, Alan Bateman wrote: On 20/01/2020 15:54, Claes Redestad wrote: Hi, some minor cleanups and enhancements in and around java.lang.ClassLoader which add up to a small startup improvement: - Remove use of Vector/Hashtable from ClassLoader, along with a few   other

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-20 Thread Alan Bateman
On 20/01/2020 15:54, Claes Redestad wrote: Hi, some minor cleanups and enhancements in and around java.lang.ClassLoader which add up to a small startup improvement: - Remove use of Vector/Hashtable from ClassLoader, along with a few   other improvements/modernizations. - Refactor

Re: RFR: 8236075: Minor bootstrap improvements

2020-01-20 Thread Mandy Chung
Hi Claes, On 1/20/20 7:54 AM, Claes Redestad wrote: Hi, some minor cleanups and enhancements in and around java.lang.ClassLoader which add up to a small startup improvement: - Remove use of Vector/Hashtable from ClassLoader, along with a few   other improvements/modernizations. - Refactor

RFR: 8236075: Minor bootstrap improvements

2020-01-20 Thread Claes Redestad
Hi, some minor cleanups and enhancements in and around java.lang.ClassLoader which add up to a small startup improvement: - Remove use of Vector/Hashtable from ClassLoader, along with a few other improvements/modernizations. - Refactor ClassLoader::sys_paths/user_paths so that they're