GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Simplify reference counting by chrisvest · Pull Request #15764 · netty/netty

Simplify reference counting #15764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
chrisvest merged 20 commits into netty:4.2 from chrisvest:4.2-refcount
Nov 6, 2025

Uh oh!

There was an error while loading. Please reload this page.

Merged

Simplify reference counting #15764

Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fafa429
Simplify reference counting
chrisvest Oct 15, 2025
f410cc2
Collapse the ReferenceCounted implementations to all rely on Abstract…
chrisvest Oct 16, 2025
45633cd
Apply some micro-opts that help x86 a bit
chrisvest Oct 17, 2025
7952927
Merge branch '4.2' into 4.2-refcount
chrisvest Oct 17, 2025
d72d545
Merge branch '4.2' into 4.2-refcount
chrisvest Oct 20, 2025
b077572
Fix the native image build
chrisvest Oct 23, 2025
7ef7d25
Reduce the codegen for retain0
chrisvest Oct 24, 2025
a49f4d3
Fix graal 21 build
chrisvest Oct 24, 2025
4e306ad
Merge branch '4.2' into 4.2-refcount
chrisvest Oct 24, 2025
ba3f5f5
Revert "Fix graal 21 build"
chrisvest Oct 30, 2025
51c6c69
Revert "Fix the native image build"
chrisvest Oct 30, 2025
a4db143
Revert "Collapse the ReferenceCounted implementations to all rely on …
chrisvest Oct 30, 2025
3b4f83e
new RefCnt class
franz1981 Oct 28, 2025
06dcfef
Properly integrate the RefCnt into the adaptive allocator and fix nat…
chrisvest Oct 30, 2025
9b726f9
Fix revapi warning
chrisvest Oct 30, 2025
4c09131
Deprecate ReferenceCountUpdater
chrisvest Oct 30, 2025
e0ba069
Address review comments
chrisvest Oct 31, 2025
be180ee
Merge branch '4.2' into 4.2-refcount
chrisvest Nov 3, 2025
9f0571f
Address review comments
chrisvest Nov 4, 2025
3f42263
Make RefCnt final
chrisvest Nov 6, 2025
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
Deprecate ReferenceCountUpdater
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
chrisvest committed Oct 30, 2025
commit 4c091317e492e025c05891e6d694a9c503527a9b

Some comments aren't visible on the classic Files Changed page.

There are no files selected for viewing

3 changes: 3 additions & 0 deletions 3 common/src/main/java/io/netty/util/internal/ReferenceCountUpdater.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@

/**
* Common logic for {@link ReferenceCounted} implementations
* @deprecated Instead of extending this class, prefer instead to include a {@link RefCnt} field and delegate to that.
* This approach has better compatibility with Graal Native Image.
*/
@Deprecated
public abstract class ReferenceCountUpdater<T extends ReferenceCounted> {
/*
* Implementation notes:
Expand Down
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402894 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.