Currently, the inlining heuristics cannot be tuned in product builds. This makes it impossible to tune them meaningfully, especially for uses of the JVM for languages other than Java, which may have radically different call graphs. We should move the inlining heuristic flags into product mode (as hidden diagnostics, at least). Also, call sites which serves a "glue" for JSR 292 should not be charged to the inlining depth heuristic.
|