RFR: 8283323: libharfbuzz optimization level results in extreme build times [v3]

Sergey Bylokhov serb at openjdk.java.net
Thu Mar 24 07:43:41 UTC 2022


On Thu, 24 Mar 2022 03:53:52 GMT, Phil Race <prr at openjdk.org> wrote:

> And unless you're backing up your claim that this patch is changing runtime characteristic with data, that's just a guess, just like the initial optimization level of this library (and as most of the native libraries in the JDK... :-() was just a guess. Otoh, that we get a build time regression for these two files is a proven fact.

All java2d libraries are compiled using HIGHEST, that option was bumped to this level over time because it was proved that they affect the performance, an example the last change: https://bugs.openjdk.java.net/browse/JDK-8264846
So I think we should check first that it does not affect performance, even if it is not used now it can be used in future version of harfbuzz.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7919



More information about the build-dev mailing list