This is with reference to the answer in this post: How JVM stack, heap and threads are mapped to physical memory or operation system
it says "JVM stack is the same a native stack" if that is the case then how jvm allocates stack frames on this stack memory whenever there is a function call in Bytecode and not the JVM code function call. If there is a function call in JVM code then the method local variables and other method related stuff will be stored in this native stack by OS. But if there is a function call in bytecode instruction how does JVM manually stores locals in that native stacks.