Hello,
    
    
    Please, review the fix for CR:
      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7194607
    
    CR in JIRA:
      https://jbs.oracle.com/bugs/browse/JDK-7194607
    
    Open webrev:
          http://cr.openjdk.java.net/~sspitsyn/webrevs/2012/7194607-JVMTI-max_size
    
    
    Summary:
    
         This issue is caused by the changes in the oops/method.hpp for     invokedynamic (JSR 292).     
    Now the max_stack() adds +2 to the original code attribute stack     size if invokedynamic is enabled.     
         The verifier_max_stack() must be used in the     jvmtiClassFileReconstituter.cpp
    instead of the max_size() to get the code attribute stack size. 
    
    
    Thanks,
    Serguei
    
   ">

(original) (raw)

Hello,


Please, review the fix for CR:
  http://bugs.sun.com/bugdatabase/view\_bug.do?bug\_id=7194607

CR in JIRA:
  https://jbs.oracle.com/bugs/browse/JDK-7194607

Open webrev:
  http://cr.openjdk.java.net/\~sspitsyn/webrevs/2012/7194607-JVMTI-max\_size


Summary:

This issue is caused by the changes in the oops/method.hpp for invokedynamic (JSR 292).
Now the max\_stack() adds +2 to the original code attribute stack size if invokedynamic is enabled.
The verifier\_max\_stack() must be used in the jvmtiClassFileReconstituter.cpp
instead of the max\_size() to get the code attribute stack size.


Thanks,
Serguei