News for hackers. Stuff that matters.
Re:Unrolling Java Loops at Runtime with Byte Buddy by Apanatshka on Thursday October 22, 2015 @02:04AM (#10430631)
No, Unsafe is not blacklisted from JIT afaik. Although be careful that a helper method using Unsafe usually doesn't get inlined. The problem in this case is the loop. It ranges over a long, and where int loops get a lot of optimisations, long loops don't (yet, they're aware of the issue)
Re:Unrolling Java Loops at Runtime with Byte Buddy by thebramp on Thursday October 22, 2015 @10:43AM (#10432509)
Do you know a way to test that the long loop is the issue? or is this an educated guess based on your knowledge of the JIT?