Slightly optimize same thread check
Checking equality to Thread.currentThread() is fast because ART keeps this instance in a fixed offset from the value of the thread register. ldr w0, [tr, #224]; Load Thread.currentThread() into w0 Flag: EXEMPT refactor Change-Id: I8ad50a2ac63e68ea312b7ca6340aba20caa3480f
Loading
Please register or sign in to comment