for review (S): 6912065: final fields in objects need to support inlining optimizations for JSR 292

John Rose John.Rose at Sun.COM
Fri Jan 8 15:36:14 PST 2010

On Jan 7, 2010, at 10:06 AM, Vladimir Kozlov wrote:

> I don't like the idea to have list of classes in the global flag.
> I would prefer to have it in systemDictionary like we have well known classes there.

I would really like this optimization to apply to all code, with the necessary extra analysis to catch corner cases.  Corner cases are found in (a) code which is reached from constructors, (b) reflection, (c) JNI.

The motivation for making it a string option is so that dynamic language people like the JRuby folks can turn on the optimization specifically for their code.

The current proposed change is therefore a temporary thing for power users, until we get a principled optimization in place.

-- John

More information about the hotspot-compiler-dev mailing list