News for hackers. Stuff that matters.
Re:Java4Shell: RCE in OpenJDK when processing Base64 by xxs on Wednesday November 18, 2026 @02:08AM (#50542847)
Java has lots of it, even crc32 has a similar loop. Few years back I had to manually inspect the crc32 loop (due to gzip warnings) when it was used on unalign arrays. It was ok.

String operations also contain instrinsics.

Re:Java4Shell: RCE in OpenJDK when processing Base64 by nly on Wednesday November 18, 2026 @04:31AM (#50544009)
The JIT can't afford the runtime to do these kinds of fixed function optizations, and isn't tuned to perform them optimally.

Even your C standard library has assembly language implementations if things like strlen

Re:Java4Shell: RCE in OpenJDK when processing Base64 by xxs on Wednesday November 18, 2026 @10:00AM (#50547102)
I don't understand the point.

Yes, JIT has lots of intrinsics.I had to inspect the crc32 loop (128bit vector instructions) as I expected to be faulty in some cases of unaligned data but it was fine.

I am very much aware where the assembly code for Hotspot is.