Skip to content

[Win32] Partially revert unnecessary creation of GC operations#3351

Closed
HeikoKlare wants to merge 1 commit into
eclipse-platform:masterfrom
HeikoKlare:partial-revert-gc-operations
Closed

[Win32] Partially revert unnecessary creation of GC operations#3351
HeikoKlare wants to merge 1 commit into
eclipse-platform:masterfrom
HeikoKlare:partial-revert-gc-operations

Conversation

@HeikoKlare
Copy link
Copy Markdown
Contributor

The recent enhancement to avoid the unnecessary creation of GC operations

introduced a regression, which particularly manifests in broken rendering of CTabFolders. For an example in the Manifest editor, see the screenshots below.

The GC's getClipping() operation stores region handles representing the clipping region (potentially at different zooms) that is combined with the passed region object. The handles for that passed region object are created lazy, so that the clipping region handle needs to be stored until that point in time. Otherwise it will leads to failures when lazily creating the handle for the passed region later on. To avoid that the clipping handles are not available, this change reverts c6bf2e9 that introduced the immediate disposal of GC operations.

This is meant to be a temporary revert until a proper solution for the handling of clipping regions inside the GC is found.

Without this change:
image

With this change:
image

The GC's `getClipping()` operation stores region handles representing
the clipping region (potentially at different zooms) that is combined
with the passed region object. The handles for that passed region object
are created on demand, so that immediate disposal of the clipping region
handle leads to failures when creating the handle for the passed region
later on. This change reverts c6bf2e9
that introduced the immediate disposal of GC operations to avoid that
the clipping handles are not available.
@github-actions
Copy link
Copy Markdown
Contributor

Test Results (win32)

   30 files  ±0     30 suites  ±0   5m 16s ⏱️ +45s
4 698 tests ±0  4 623 ✅ ±0  75 💤 ±0  0 ❌ ±0 
1 228 runs  ±0  1 204 ✅ ±0  24 💤 ±0  0 ❌ ±0 

Results for commit 8c802c5. ± Comparison against base commit 81da08f.

@HeikoKlare
Copy link
Copy Markdown
Contributor Author

@HeikoKlare HeikoKlare closed this Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant