Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The following code :
void m() { int i=0 }
will generate bytecode like this:
ICONST_0 ISTORE 1 ILOAD 1 ISTORE 2 ILOAD 2
although everything could "fit" into a single slot :
ICONST_0 ISTORE 1 ILOAD 1