Lines Matching refs:static

41     def __init__(self, code, static, vartype, flavour, klass, method, memloc,  argument
44 self.static = static
57 static_name = "Static" if self.static else "",
73 first_arg = static_first_arg if self.static else "this"
79 static_name = "Static" if self.static else "",
80 static_kwd = "static " if self.static else "",
93 def BenchVHField(code, static, vartype, flavour, method): argument
94 return Benchmark(code, static, vartype, flavour, "VarHandle", method, MemLoc.FIELD)
105 def BenchReflect(code, static, vartype, method): argument
106 return Benchmark(code, static, vartype, "", "Reflect", method, MemLoc.FIELD)
109 def BenchUnsafe(code, static, vartype, method): argument
110 return Benchmark(code, static, vartype, "", "Unsafe", method, MemLoc.FIELD)
402 [BenchVHField(VH_GET, static, vartype, flavour, "get")
404 for static in [True, False]
406 [BenchVHField(VH_SET, static, vartype, flavour, "set")
408 for static in [True, False]
410 [BenchVHField(VH_CAS, static, vartype, flavour, "compareAndSet")
412 for static in [True, False]
414 [BenchVHField(VH_CAS, static, vartype, flavour, "weakCompareAndSet")
416 for static in [True, False]
418 [BenchVHField(VH_CAE, static, vartype, flavour, "compareAndExchange")
420 for static in [True, False]
422 [BenchVHField(VH_GAS, static, vartype, flavour, "getAndSet")
424 for static in [True, False]
426 [BenchVHField(VH_GAA, static, vartype, flavour, "getAndAdd")
428 for static in [True, False]
430 [BenchVHField(VH_GAB, static, vartype, flavour, "getAndBitwise")
434 for static in [True, False]
450 [BenchReflect(REFLECT_GET, static, vartype, "get")
451 for static in [True, False]
453 [BenchReflect(REFLECT_SET, static, vartype, "set")
454 for static in [True, False]
456 [BenchUnsafe(UNSAFE_GET, static, vartype, "get")
457 for static in [True, False]
459 [BenchUnsafe(UNSAFE_PUT, static, vartype, "put")
460 for static in [True, False]
462 [BenchUnsafe(UNSAFE_CAS, static, vartype, method)
464 for static in [True, False]