comparison src/share/vm/interpreter/interpreterRuntime.hpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents d8041d695d19
children 4062efea018b
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
64 { return bytecode(thread).get_index_u4(bc); } 64 { return bytecode(thread).get_index_u4(bc); }
65 static int number_of_dimensions(JavaThread *thread) { return bcp(thread)[3]; } 65 static int number_of_dimensions(JavaThread *thread) { return bcp(thread)[3]; }
66 66
67 static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); } 67 static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); }
68 static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); } 68 static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); }
69 static void note_trap_inner(JavaThread* thread, int reason,
70 methodHandle trap_method, int trap_bci, TRAPS);
71 static void note_trap(JavaThread *thread, int reason, TRAPS); 69 static void note_trap(JavaThread *thread, int reason, TRAPS);
72 #ifdef CC_INTERP 70
73 // Profile traps in C++ interpreter. 71 // Inner work method for Interpreter's frequency counter overflow
74 static void note_trap(JavaThread* thread, int reason, Method *method, int trap_bci);
75 #endif // CC_INTERP
76
77 // Inner work method for Interpreter's frequency counter overflow.
78 static nmethod* frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp); 72 static nmethod* frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp);
79 73
80 public: 74 public:
81 // Constants 75 // Constants
82 static void ldc (JavaThread* thread, bool wide); 76 static void ldc (JavaThread* thread, bool wide);
105 #if INCLUDE_JVMTI 99 #if INCLUDE_JVMTI
106 static void member_name_arg_or_null(JavaThread* thread, address dmh, Method* m, address bcp); 100 static void member_name_arg_or_null(JavaThread* thread, address dmh, Method* m, address bcp);
107 #endif 101 #endif
108 static void throw_pending_exception(JavaThread* thread); 102 static void throw_pending_exception(JavaThread* thread);
109 103
110 #ifdef CC_INTERP
111 // Profile traps in C++ interpreter.
112 static void note_nullCheck_trap (JavaThread* thread, Method *method, int trap_bci);
113 static void note_div0Check_trap (JavaThread* thread, Method *method, int trap_bci);
114 static void note_rangeCheck_trap(JavaThread* thread, Method *method, int trap_bci);
115 static void note_classCheck_trap(JavaThread* thread, Method *method, int trap_bci);
116 static void note_arrayCheck_trap(JavaThread* thread, Method *method, int trap_bci);
117 // A dummy for makros that shall not profile traps.
118 static void note_no_trap(JavaThread* thread, Method *method, int trap_bci) {}
119 #endif // CC_INTERP
120
121 // Statics & fields 104 // Statics & fields
122 static void resolve_get_put(JavaThread* thread, Bytecodes::Code bytecode); 105 static void resolve_get_put(JavaThread* thread, Bytecodes::Code bytecode);
123 106
124 // Synchronization 107 // Synchronization
125 static void monitorenter(JavaThread* thread, BasicObjectLock* elem); 108 static void monitorenter(JavaThread* thread, BasicObjectLock* elem);