< prev index next >

test/jdk/lib/testlibrary/bytecode/jdk/experimental/bytecode/IsolatedMethodBuilder.java

Print this page
rev 47761 : 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
Reviewed-by: acorn
Contributed-by: lois.foltan@oracle.com, john.r.rose@oracle.com, paul.sandoz@oracle.com
* * *
Minor Hotspot code cleanup changes resulting from condy review
Summary: Addressed missing DynamicInError condition, removed unused TraceDynamicConstants
Reviewed-by: acorn, psandoz
rev 47762 : 8187742: Minimal set of bootstrap methods for constant dynamic
Contributed-by: brian.goetz@oracle.com, john.r.rose@oracle.com, paul.sandoz@oracle.com
Reviewed-by: forax


 100         public int putString(String s) {
 101             return putIfAbsent(s);
 102         }
 103 
 104         @Override
 105         public int putInvokeDynamic(CharSequence invokedName, String invokedType, Class<?> bsmClass, CharSequence bsmName, String bsmType, Consumer<StaticArgListBuilder<Class<?>, String, Object[]>> staticArgs) {
 106             return 0; //???
 107         }
 108 
 109         @Override
 110         public int putDynamicConstant(CharSequence constName, String constType, Class<?> bsmClass, CharSequence bsmName, String bsmType, Consumer<StaticArgListBuilder<Class<?>, String, Object[]>> staticArgs) {
 111             return 0; //???
 112         }
 113 
 114         @Override
 115         public int putHandle(int refKind, Class<?> owner, CharSequence name, String type) {
 116             return 0; //???
 117         }
 118 
 119         @Override





 120         public int putMethodType(String s) {
 121             return 0; //???
 122         }
 123 
 124         @Override
 125         public int putUtf8(CharSequence s) {
 126             return putIfAbsent(s);
 127         }
 128 
 129         @Override
 130         public int putType(String s) {
 131             return putIfAbsent(s);
 132         }
 133 
 134         @Override
 135         public int size() {
 136             return constants.size();
 137         }
 138 
 139         @Override




 100         public int putString(String s) {
 101             return putIfAbsent(s);
 102         }
 103 
 104         @Override
 105         public int putInvokeDynamic(CharSequence invokedName, String invokedType, Class<?> bsmClass, CharSequence bsmName, String bsmType, Consumer<StaticArgListBuilder<Class<?>, String, Object[]>> staticArgs) {
 106             return 0; //???
 107         }
 108 
 109         @Override
 110         public int putDynamicConstant(CharSequence constName, String constType, Class<?> bsmClass, CharSequence bsmName, String bsmType, Consumer<StaticArgListBuilder<Class<?>, String, Object[]>> staticArgs) {
 111             return 0; //???
 112         }
 113 
 114         @Override
 115         public int putHandle(int refKind, Class<?> owner, CharSequence name, String type) {
 116             return 0; //???
 117         }
 118 
 119         @Override
 120         public int putHandle(int refKind, Class<?> owner, CharSequence name, String type, boolean isInterface) {
 121             return 0; //???
 122         }
 123 
 124         @Override
 125         public int putMethodType(String s) {
 126             return 0; //???
 127         }
 128 
 129         @Override
 130         public int putUtf8(CharSequence s) {
 131             return putIfAbsent(s);
 132         }
 133 
 134         @Override
 135         public int putType(String s) {
 136             return putIfAbsent(s);
 137         }
 138 
 139         @Override
 140         public int size() {
 141             return constants.size();
 142         }
 143 
 144         @Override


< prev index next >