Code Review for 7082631

Prepared by:never on Wed Sep 7 21:00:04 PDT 2011
Workspace:/net/smite.us.oracle.com/export/ws/jdk
Compare against: ssh://hg.openjdk.java.net/hsx/hotspot-comp/jdk
Summary of changes: 59 lines changed: 54 ins; 0 del; 5 mod; 2534 unchg
Patch of changes: 7082631.patch
Author comments:
7082631: JSR 292: need profiling support in GWTs
Summary: add CountingMethodHandle
Reviewed-by: twisti, jrose

To get good inlining for MH chains with GWTs, we need per call chain
profile information. This injects some counters into the GWT idiom
that can be updated and queried by the JVM. Tested with jruby.

Bug id: 7082631 JSR 292: need profiling support in GWTs
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/java/lang/invoke/AdapterMethodHandle.java

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

------ ------ ------ ------ --- New Patch Raw src/share/classes/java/lang/invoke/CountingMethodHandle.java

50 lines changed: 50 ins; 0 del; 0 mod; 0 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/java/lang/invoke/MethodHandleImpl.java

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

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/java/lang/invoke/MethodHandleNatives.java

5 lines changed: 4 ins; 0 del; 1 mod; 393 unchg

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