Searched refs:obj (Results 201 - 225 of 2493) sorted by relevance

1234567891011>>

/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DIntField.java44 public int getValue(Oop obj) { argument
45 if (!isVMField() && !obj.isInstance() && !obj.isArray()) {
46 throw new InternalError(obj.toString());
48 return obj.getHandle().getJIntAt(getOffset());
50 public int getValue(VMObject obj) { argument
51 return obj.getAddress().getJIntAt(getOffset());
53 public void setValue(Oop obj, int value) throws MutationException { argument
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/copyobject/
H A DReferenceObjectCopierImpl.java32 public Object copy( Object obj )
34 return obj ;
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1ConcurrentMark.inline.hpp36 inline bool G1ConcurrentMark::mark_in_next_bitmap(oop const obj) { argument
37 HeapRegion* const hr = _g1h->heap_region_containing(obj);
38 return mark_in_next_bitmap(hr, obj);
41 inline bool G1ConcurrentMark::mark_in_next_bitmap(HeapRegion* const hr, oop const obj) { argument
43 assert(hr->is_in_reserved(obj), "Attempting to mark object at " PTR_FORMAT " that is not contained in the given region %u", p2i(obj), hr->hrm_index());
45 if (hr->obj_allocated_since_next_marking(obj)) {
51 assert(!hr->is_continues_humongous(), "Should not try to mark object " PTR_FORMAT " in Humongous continues region %u above nTAMS " PTR_FORMAT, p2i(obj), hr->hrm_index(), p2i(hr->next_top_at_mark_start()));
53 HeapWord* const obj_addr = (HeapWord*)obj;
89 assert(task_entry.is_array_slice() || _g1h->is_in_g1_reserved(task_entry.obj()), "invarian
108 is_below_finger(oop obj, HeapWord* global_finger) const argument
148 oop obj = task_entry.obj(); local
159 scan_objArray(objArrayOop obj, MemRegion mr) argument
164 make_reference_grey(oop obj) argument
206 deal_with_reference(oop obj) argument
[all...]
/openjdk10/hotspot/test/gc/g1/
H A DTestParallelAlwaysPreTouch.java41 Object[] obj = new Object[M];
42 System.out.println(obj);
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/directory/
H A DSearchResult.java56 * {@code getClassName()} will return the class name of {@code obj}
57 * (or null if {@code obj} is null) unless the class name has been
64 * @param obj The object bound to name. Can be null.
70 public SearchResult(String name, Object obj, Attributes attrs) { argument
71 super(name, obj);
79 * {@code getClassName()} will return the class name of {@code obj}
80 * (or null if {@code obj} is null) unless the class name has been
84 * @param obj The object bound to name. Can be null.
94 public SearchResult(String name, Object obj, Attributes attrs, argument
96 super(name, obj, isRelativ
118 SearchResult(String name, String className, Object obj, Attributes attrs) argument
143 SearchResult(String name, String className, Object obj, Attributes attrs, boolean isRelative) argument
[all...]
/openjdk10/nashorn/test/script/basic/
H A DJDK-8055762.js54 var obj = new (Java.extend(JSObject))() {
78 print(obj["foo"]);
79 print(obj[a + "bc"]);
80 print(obj[2]);
81 obj.bar = 23;
82 obj[a + "bc"] = 23;
83 obj[3] = 23;
84 obj.func("hello");
H A DJDK-8020325.js31 function printStatic(obj) {
32 print(obj.getClass().static);
H A DJDK-8023026.js31 function checkIterations(obj) {
32 if (typeof obj.getClass == 'function') {
33 print("iterating on an object of " + obj.getClass());
35 print("iterating on " + String(obj));
38 Array.prototype.forEach.call(obj,
41 print("left sum " + Array.prototype.reduce.call(obj,
44 print("right sum " + Array.prototype.reduceRight.call(obj,
47 print("squared " + Array.prototype.map.call(obj,
H A DNASHORN-383.js31 function func(obj) {
32 return obj[0];
H A DJDK-8074545.js31 var obj = {
1035 var value = obj["p" + i];
H A DJDK-8073733.js38 var obj = {};
40 obj.foo();
H A Dtypecoerce.js37 var obj = { valueOf: function() { print("toNumber coercion"); return 17; }}
38 return obj;
H A DNASHORN-404.js32 var obj = this[name].prototype;
33 for (i in obj) {
H A DJDK-8011718.js31 var obj = {
32 hello:"From obj",
46 }.bind(obj));
/openjdk10/nashorn/test/script/error/NASHORN-154/
H A Dliteral_mult_getters.js36 var obj = { get foo() { return 2; }, get foo() { return 'hello'; } };
/openjdk10/nashorn/samples/
H A Dmapwith.js38 var obj = {
44 with(obj) {
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DJSObjectIterator.java37 protected final JSObject obj; field in class:JSObjectIterator
40 JSObjectIterator(final JSObject obj, final boolean includeUndefined) { argument
42 this.obj = obj;
43 this.length = JSType.toUint32(obj.hasMember("length")? obj.getMember("length") : 0);
63 if (obj.hasSlot((int)index) || includeUndefined) {
75 return obj.getSlot((int)bumpIndex());
/openjdk10/nashorn/test/script/basic/8024180/
H A Dwith_expr_proto_prop_add.js32 var obj = Object.create(p);
39 with(obj) {
/openjdk10/langtools/test/tools/javac/generics/bridge1/
H A DD.java48 A obj = new D();
49 obj.test();
/openjdk10/nashorn/test/script/nosecurity/treeapi/
H A DfunctionCall.js41 obj.call();
42 obj.call(x, b());
51 visitFunctionCall : function (node, obj) {
52 obj.push(convert(node))
H A Darrow.js42 visitVariable : function (node, obj) {
43 obj.push(convert(node))
45 visitExpressionStatement : function (node, obj) {
46 obj.push(convert(node))
H A Dempty.js45 visitEmptyStatement : function (node, obj) {
46 obj.push(convert(node))
H A Dblock.js45 visitBlock : function (node, obj) {
46 obj.push(convert(node))
/openjdk10/nashorn/test/script/sandbox/
H A Dloadcompat.js34 var obj = {};
35 if (obj.__proto__ !== Object.prototype) {
/openjdk10/jdk/test/java/io/Serializable/enum/unshared/
H A DTest.java58 Object obj = in.readObject();
59 if (obj != Foo.foo) {
61 "expected " + Foo.foo + " instead of " + obj);
64 obj = in.readUnshared();
66 "read of " + obj + " should not have succeeded");
78 Object obj = in.readUnshared();
79 if (obj != Foo.foo) {
81 "expected " + Foo.foo + " instead of " + obj);
84 obj = in.readObject();
86 "read of " + obj
[all...]

Completed in 118 milliseconds

1234567891011>>