wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Optimizer in the new VM keeps all strings in place #1336

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the string pool includes all strings even strings that contain 
method/class names that were filtered out by the optimizer and strings that 
contain text that was filtered out. This slows down startup and takes up RAM 
that is never reclaimed since the constant pool is slow.
The optimizer should also remove unused strings.

Original issue reported on code.google.com by shai.almog on 6 Feb 2015 at 11:26