Code Review for 8011138

Prepared by:twisti on Thu Oct 3 13:38:54 PDT 2013
Compare against: ssh://
Summary of changes: 30 lines changed: 13 ins; 0 del; 17 mod; 1302 unchg
Patch of changes: 8011138.patch
Author comments:
8011138: C2: stack overflow in compiler thread because of recursive inlining of lambda form methods

The fix is to walk the JVM states when inlining compiled lambda forms and try to figure out if the "receiver" of the same inlinee (static method in the compiled lambda form) is the same as the current one. If that's the case we have a recursion.

I was tempted to remove the InlineTree::_caller_jvms completely but that might be too intrusive for now.

Bug id: 8011138
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/vm/opto/bytecodeInfo.cpp

28 lines changed: 11 ins; 0 del; 17 mod; 687 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/vm/opto/parse.hpp

2 lines changed: 2 ins; 0 del; 0 mod; 615 unchg

This code review page was prepared using /Users/twisti/bin/webrev (vers 23.18-hg-never-dev).