-
Notifications
You must be signed in to change notification settings - Fork 720
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
getAndSet not inlined for Java.util.concurrency.atomic.Atomiclong and AtomicLongArray #20378
Comments
Issue Number: 20378 |
The atomic operations in Just poked through the code and ran some tests to see what we are doing:
It looks like we are suppressing the IL inlining of |
On Z in J9CodeGenerator::inlineDirectCall, the atomics for getAndSet for AtomicLong and AtomicLongArray are not being inlined, even though they are being inlined for the integer versions (AtomicInteger and AtomicIntegerArray).
getAndSet for Long types appears to be covered in Z::J9TreeEvaluator::inlineAtomicOps, and are included J9RecognizedMethods.enum. It looks like it may have just been missed in J9CodeGenerator::inlineDirectCall
@Spencer-Comin
The text was updated successfully, but these errors were encountered: