RFR: 8234821: remove unused functions from libjli
Baesken, Matthias
matthias.baesken at sap.com
Wed Nov 27 08:56:08 UTC 2019
Hello, I missed the reference from windows only code to JLI_MemRealloc , new webrev :
http://cr.openjdk.java.net/~mbaesken/webrevs/8234821.1/
Best regards, Matthias
Hello, please review this small change .
It removed unneeded functions from libjli (shown by link-time-gc) .
libjli contains a few functions that are shown as unused when applying link-time-gc .
Those functions fall into 2 categories :
- totally unused/uncalled functions (can be deleted )
- functions that are always inlined, but still kept separate when linking (making them static often helps to remove the unneeded duplicate )
( Similar approach has been done to libnet , see : 8234629: remove unused functions from libnet )
Thanks, Matthias
Bug/webrev :
https://bugs.openjdk.java.net/browse/JDK-8234821
http://cr.openjdk.java.net/~mbaesken/webrevs/8234821.0/
More information about the core-libs-dev
mailing list