The main idea is to make sure we only have 1 JTOC slot holding a particular constant primitive value.
Not clear how much this would matter in the current system, or if it would matter more/less once we start associating class statics with per-classloader structures so we can implement class unloading.
Description
See SF: https://sourceforge.net/tracker/index.php?func=detail&aid=1147162&group_id=128805&atid=712771 for discussion.
The main idea is to make sure we only have 1 JTOC slot holding a particular constant primitive value.
Not clear how much this would matter in the current system, or if it would matter more/less once we start associating class statics with per-classloader structures so we can implement class unloading.