On Wed, 11 Nov 2026 16:34:34 GMT, Azad Abdulov <[email protected]> wrote:

> Cuts shaping context to the actually needed by HarfBuzz to reduce unnecessary 
> copying. See provided benchmark that grows faster than linear without the fix 
> and shows linear growth with this change.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 2bcc2a94
Author:    Azad Abdulov <[email protected]>
Committer: Alexey Ushakov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/2bcc2a944dce4f09ef1ffb694fe4e78e36bd372b
Stats:     210 lines in 3 files changed: 205 ins; 0 del; 5 mod

8396893: Slow allocation in sun.font.HBShaper.shape

Reviewed-by: avu, prr

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

PR: https://git.openjdk.org/jdk/pull/33853

Reply via email to