Leverage Java 9+ intrinsified bound check
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 35.1k
- Forks
- 16.3k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 143
Description
Similar to https://github.com/eclipse-vertx/vert.x/pull/5645#issuecomment-3056362149 - but for Netty 4.2 we still need MethodHandle to use it.
It would be highly beneficial to have it as PlatformDependent method (if it works).
WDYT @chrisvest wanna give it a shot vs the changes I did recently on this?
Consider that for heap based buffers it could (I haven't verified) ships the likely double bound check, with this
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Netty 4.2's PlatformDependent area and the referenced Vert.x discussion. Determine whether Java 9+ bound-check intrinsification can be exposed through MethodHandle, including the possible double bound check for heap buffers; completion requires validating that approach and its effect in Netty.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100