It is not just converted, but int converted and stored only in the local variable array or operand stack in the stack frame, and when saving as a heap, it is restored to its original form and stored.
In other words, when calling a method, the parameters of the method must be put in the stack, which seems to facilitate access to a multiple of 4.
© 2024 OneMinuteCode. All rights reserved.