openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

getAndSet not inlined for Java.util.concurrency.atomic.Atomiclong and AtomicLongArray

Open matthewhall2 opened this issue 1 year ago • 1 comments

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

matthewhall2 avatar Oct 17 '24 18:10 matthewhall2