Skip to content
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.

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

Artery TCP not working with JDK 11 on ARM32 (Raspberry Pi) #27301

Closed
patriknw opened this issue Jul 9, 2019 · 0 comments

Comments

@patriknw
Copy link
Member

commented Jul 9, 2019

@eloots and I have tracked down the problem to be in akka.util.Unsafe.copyUSAciiBytesToStr, which is used for the recipient and sender header fields.

@patriknw patriknw self-assigned this Jul 9, 2019

@patriknw patriknw added 3 - in progress and removed 1 - triaged labels Jul 9, 2019

patriknw added a commit that referenced this issue Jul 9, 2019

Harden copyUSAciiBytesToStr, so that it works on Raspberry Pi, #27301
* With JDK 11 on ARM32 the copyUSAsciiStrToBytes injected a 0 byte
  inbetween each char
* Select optimization algorithm at startup by testing the result.
* Final fallback is plain str.getBytes("us-ascii")

patriknw added a commit that referenced this issue Jul 9, 2019

Harden copyUSAciiBytesToStr, so that it works on Raspberry Pi, #27301
* With JDK 11 on ARM32 the copyUSAsciiStrToBytes injected a 0 byte
  inbetween each char
* Select optimization algorithm at startup by testing the result.
* Final fallback is plain str.getBytes("us-ascii")

patriknw added a commit that referenced this issue Jul 12, 2019

Harden copyUSAciiBytesToStr, so that it works on Raspberry Pi, #27301
* With JDK 11 on ARM32 the copyUSAsciiStrToBytes injected a 0 byte
  inbetween each char
* Select optimization algorithm at startup by testing the result.
* Final fallback is plain str.getBytes("us-ascii")

(cherry picked from commit 1c30efe)

@patriknw patriknw added this to the 2.5.24 milestone Jul 12, 2019

patriknw added a commit that referenced this issue Jul 12, 2019

Merge pull request #27302 from akka/wip-27301-copyUSAsciiStrToBytes-p…
…atriknw

Harden copyUSAciiBytesToStr, so that it works on Raspberry Pi, #27301

patriknw added a commit that referenced this issue Jul 12, 2019

Merge pull request #27346 from akka/wip-27301-copyUSAsciiStrToBytes-2…
….5-patriknw

Harden copyUSAciiBytesToStr, so that it works on Raspberry Pi, #27301

@raboof raboof closed this Aug 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.