Searched refs:mcs (Results 1 - 24 of 24) sorted by relevance

/openjdk10/jdk/src/java.base/share/classes/java/lang/invoke/
H A DSwitchPoint.java90 * private final MutableCallSite mcs;
93 * this.mcs = new MutableCallSite(K_true);
94 * this.mcsInvoker = mcs.dynamicInvoker();
104 * for (SwitchPoint spt : spts) mcss.add(spt.mcs);
105 * for (MutableCallSite mcs : mcss) mcs.setTarget(K_false);
118 private final MutableCallSite mcs; field in class:SwitchPoint
125 this.mcs = new MutableCallSite(K_true);
126 this.mcsInvoker = mcs.dynamicInvoker();
153 return (mcs
[all...]
/openjdk10/hotspot/src/share/vm/interpreter/
H A DinvocationCounter.cpp109 MethodCounters* mcs = method->method_counters(); local
110 assert(mcs != NULL, "");
111 mcs->invocation_counter()->set_carry();
112 mcs->invocation_counter()->set_state(InvocationCounter::wait_for_nothing);
119 MethodCounters* mcs = method->method_counters(); local
120 assert(mcs != NULL, "");
121 mcs->invocation_counter()->decay();
H A DbytecodeInterpreterProfiling.hpp134 MethodCounters* mcs; \
135 GET_METHOD_COUNTERS(mcs); \
138 if (mcs->invocation_counter() \
139 ->reached_ProfileLimit(mcs->backedge_counter())) { \
H A DbytecodeInterpreter.cpp310 MethodCounters* mcs; \
311 GET_METHOD_COUNTERS(mcs); \
314 mcs->backedge_counter()->increment(); \
330 && mcs->invocation_counter()->reached_InvocationLimit(mcs->backedge_counter()); \
634 MethodCounters* mcs; local
635 GET_METHOD_COUNTERS(mcs);
641 mcs->invocation_counter()->increment();
642 if (mcs->invocation_counter()->reached_InvocationLimit(mcs
[all...]
H A DinterpreterRuntime.cpp1042 MethodCounters* mcs = Method::build_method_counters(m, thread); variable
1047 return mcs;
/openjdk10/hotspot/src/share/vm/runtime/
H A DcompilationPolicy.cpp261 MethodCounters* mcs = m->method_counters(); local
262 assert(mcs != NULL, "MethodCounters cannot be NULL for profiling");
263 mcs->invocation_counter()->set_carry();
264 mcs->backedge_counter()->set_carry();
272 MethodCounters* mcs = m->method_counters(); local
273 assert(mcs != NULL, "MethodCounters cannot be NULL for profiling");
274 InvocationCounter* i = mcs->invocation_counter();
275 InvocationCounter* b = mcs->backedge_counter();
294 MethodCounters* mcs = m->method_counters(); local
295 if (mcs !
335 MethodCounters* mcs; local
360 MethodCounters* mcs = method->method_counters(); local
368 MethodCounters* mcs = method->method_counters(); local
455 MethodCounters* mcs = m->method_counters(); local
[all...]
H A DsimpleThresholdPolicy.cpp173 MethodCounters *mcs = method->method_counters(); local
174 if (mcs != NULL) {
175 set_carry_if_necessary(mcs->invocation_counter());
176 set_carry_if_necessary(mcs->backedge_counter());
/openjdk10/hotspot/src/share/vm/oops/
H A Dmethod.hpp213 MethodCounters* mcs = method_counters(); local
214 if (mcs == NULL) {
217 return mcs->number_of_breakpoints();
221 MethodCounters* mcs = get_method_counters(CHECK); local
222 if (mcs != NULL) {
223 mcs->incr_number_of_breakpoints();
227 MethodCounters* mcs = get_method_counters(CHECK); local
228 if (mcs != NULL) {
229 mcs->decr_number_of_breakpoints();
234 MethodCounters* mcs local
277 MethodCounters* mcs = get_method_counters(CHECK); local
285 MethodCounters* mcs = method_counters(); local
367 MethodCounters* mcs = method_counters(); local
373 MethodCounters* mcs = method_counters(); local
377 MethodCounters* mcs = method_counters(); local
383 MethodCounters* mcs = method_counters(); local
387 MethodCounters* mcs = method_counters(); local
428 MethodCounters* mcs = method_counters(); local
435 MethodCounters* mcs = get_method_counters(CHECK_0); local
[all...]
H A Dmethod.cpp1821 MethodCounters *mcs = method_counters(); local
1824 if (((mcs != NULL) ? mcs->invocation_counter()->carry() : false) ||
1828 return ((mcs != NULL) ? mcs->invocation_counter()->count() : 0) +
1832 return (mcs == NULL) ? 0 : mcs->invocation_counter()->count();
1837 MethodCounters *mcs = method_counters(); local
1840 if (((mcs != NULL) ? mcs
1853 const MethodCounters* mcs = method_counters(); local
1862 const MethodCounters* mcs = method_counters(); local
1871 MethodCounters* mcs = method_counters(); local
1878 MethodCounters* mcs = method_counters(); local
[all...]
H A DmethodData.cpp1273 MethodCounters* mcs = method->method_counters(); local
1274 if (mcs != NULL) {
1275 InvocationCounter* ic = mcs->invocation_counter();
1276 InvocationCounter* bc = mcs->backedge_counter();
/openjdk10/jdk/test/java/lang/invoke/
H A DCallSiteTest.java47 private static CallSite mcs; field in class:CallSiteTest
56 mcs = new MutableCallSite(mh_foo);
80 mcs.setTarget(mh_foo);
84 mcs.setTarget(mh_foo);
88 mcs.setTarget(mh_bar);
136 return mcs;
/openjdk10/hotspot/test/compiler/jsr292/
H A DCallSiteDepContextTest.java69 static MutableCallSite mcs; field in class:CallSiteDepContextTest
85 return mcs;
140 mcs = new MutableCallSite(LOOKUP.findStatic(T.class, "f1", TYPE));
142 mcs.setTarget(LOOKUP.findStatic(T.class, "f2", TYPE));
147 mcs = new MutableCallSite(LOOKUP.findStatic(T.class, "f1", TYPE));
149 // mcs.context == null
150 MethodHandle mh = mcs.dynamicInvoker();
153 // mcs.context == cls1
159 mcs.setTarget(LOOKUP.findStatic(T.class, "f2", TYPE));
170 mcs
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/
H A DPlatformFont.java146 Vector<CharsetString> mcs = null;
200 if (mcs == null) {
201 mcs = new Vector<>(3);
203 mcs.addElement(new CharsetString(tmpStr, lastIndex,
213 if (mcs == null) {
217 mcs.addElement(cs);
218 result = mcs.toArray(new CharsetString[mcs.size()]);
/openjdk10/hotspot/src/cpu/zero/vm/
H A DcppInterpreter_zero.cpp254 MethodCounters* mcs = method->method_counters(); local
255 if (mcs == NULL) {
256 CALL_VM_NOCHECK(mcs = InterpreterRuntime::build_method_counters(thread, method));
260 InvocationCounter *counter = mcs->invocation_counter();
262 if (counter->reached_InvocationLimit(mcs->backedge_counter())) {
/openjdk10/hotspot/src/share/vm/ci/
H A DciMethod.cpp1356 MethodCounters* mcs = method->method_counters(); local
1360 mcs == NULL ? 0 : mcs->invocation_counter()->raw_counter(),
1361 mcs == NULL ? 0 : mcs->backedge_counter()->raw_counter(),
H A DciReplay.cpp1226 MethodCounters* mcs = method->get_method_counters(CHECK_AND_CLEAR); local
1227 guarantee(mcs != NULL, "method counters allocation failed");
1228 mcs->invocation_counter()->_counter = rec->_invocation_counter;
1229 mcs->backedge_counter()->_counter = rec->_backedge_counter;
/openjdk10/hotspot/src/cpu/x86/vm/
H A Dinterp_masm_x86.cpp1103 Register mcs, Label& skip) {
1105 movptr(mcs, Address(method, Method::method_counters_offset()));
1106 testptr(mcs, mcs);
1110 movptr(mcs, Address(method,Method::method_counters_offset()));
1111 testptr(mcs, mcs);
1102 get_method_counters(Register method, Register mcs, Label& skip) argument
H A Dinterp_masm_x86.hpp219 void get_method_counters(Register method, Register mcs, Label& skip);
/openjdk10/jdk/test/javax/management/remote/mandatory/connection/
H A DBrokenConnectionTest.java579 final String mcs =
581 final Class messageConnectionServerClass = Class.forName(mcs);
/openjdk10/hotspot/src/cpu/aarch64/vm/
H A Dinterp_masm_aarch64.hpp121 void get_method_counters(Register method, Register mcs, Label& skip);
H A Dinterp_masm_aarch64.cpp251 Register mcs, Label& skip) {
253 ldr(mcs, Address(method, Method::method_counters_offset()));
254 cbnz(mcs, has_counters);
257 ldr(mcs, Address(method, Method::method_counters_offset()));
258 cbz(mcs, skip); // No MethodCounters allocated, OutOfMemory
250 get_method_counters(Register method, Register mcs, Label& skip) argument
/openjdk10/hotspot/src/share/vm/prims/
H A Dwhitebox.cpp929 MethodCounters* mcs = mh->method_counters(); variable
946 if (mcs != NULL) {
947 mcs->backedge_counter()->init();
948 mcs->invocation_counter()->init();
949 mcs->set_interpreter_invocation_count(0);
950 mcs->set_interpreter_throwout_count(0);
953 mcs->set_rate(0.0F);
/openjdk10/hotspot/src/share/vm/jvmci/
H A DjvmciCompilerToVM.cpp1290 MethodCounters* mcs = method->method_counters();
1291 if (mcs != NULL) {
1292 mcs->clear_counters();
/openjdk10/nashorn/test/script/basic/
H A DJDK-8017084.js8916 mcs: 8885,

Completed in 257 milliseconds