JDK-8004376 : JSR 292: add DontInline annotations to some internal methods
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2012-12-04
  • Updated: 2013-01-08
  • Resolved: 2013-01-08
Related Reports
Duplicate :  
Description
We miss some DontInline annotations on methods which really shouldn't be inlined.

Also ValueConversions.castReference needs to inline Class.cast so we can get better type information in the compilers.  Unfortunately ForceInline is not visible in the java.lang package.  Either we inline the code from Class.cast into ValueConversions.castReference or we move the annotations somewhere else and make them available on the boot class path.