/art/test/1974-resize-array/ |
D | expected-stdout.txt | 2 val is: [1, 2, 3] resize +3 3 val is: [1, 2, 3, 0, 0, 0, 0, 0] 7 val is: [1, 2, 3, 4] resize +3 8 Map is: ([1, 2, 3, 4]->Other Value), ([1, 2, 3, 4]->THE VALUE), ([1, 4]->Third value), 9 val is: [1, 2, 3, 4, 0, 0, 0] 10 Map is: ([1, 2, 3, 4]->Other Value), ([1, 2, 3, 4, 0, 0, 0]->THE VALUE), ([1, 4]->Third value), 13 val is: [weak, ref] resize +3 14 val is: [weak, ref, null, null, null, null, null] 18 val is: [<SELF REF>, A, B, C] resize +5 item 0 is [<SELF REF>, A, B, C] 19 val is: [<SELF REF>, A, B, C, null, null, null, null, null] [all …]
|
/art/test/118-noimage-dex2oat/ |
D | expected-stdout.txt | 3 Has image is false, is image dex2oat enabled is false, is BOOTCLASSPATH on disk is false. 7 Has image is true, is image dex2oat enabled is true, is BOOTCLASSPATH on disk is true. 11 Has image is true, is image dex2oat enabled is true, is BOOTCLASSPATH on disk is true.
|
/art/test/046-reflect/ |
D | expected-stdout.txt | 1 Method name is myMethod 2 Declaring class is Target 6 Return type is int 8 Method name is myMethod 9 Declaring class is SuperTarget 11 Return type is int 13 Method name is myNoargMethod 14 Declaring class is Target 15 Return type is void 17 Method name is myMethod [all …]
|
/art/test/917-fields-transformation/ |
D | expected-stdout.txt | 1 Result is Hello 2 take1 is Hello 3 take2 is Goodbye 4 Result is start 5 take1 is start 6 take2 is end 7 Result is Goodbye 8 take1 is Hello 9 take2 is Goodbye 10 Result is end [all …]
|
/art/test/023-many-interfaces/src/ |
D | ManyInterfaces.java | 360 boolean is; in testInstance001() 361 is = obj instanceof Interface001; in testInstance001() 362 is = obj instanceof Interface001; in testInstance001() 363 is = obj instanceof Interface001; in testInstance001() 364 is = obj instanceof Interface001; in testInstance001() 365 is = obj instanceof Interface001; in testInstance001() 366 is = obj instanceof Interface001; in testInstance001() 367 is = obj instanceof Interface001; in testInstance001() 368 is = obj instanceof Interface001; in testInstance001() 369 is = obj instanceof Interface001; in testInstance001() [all …]
|
/art/test/2036-structural-subclass-shadow/ |
D | expected-stdout.txt | 1 value-getter is 42 2 value is 42 3 static-call is 1337 4 static-value is 3.14 5 value-getter is 0 6 value is 0 7 static-call is -559038737 8 static-value is 0.0
|
/art/test/090-loop-formation/ |
D | expected-stdout.txt | 1 counter1 is 0 2 counter2 is 32767 3 counter3 is 32767 4 counter4 is 0 5 counter5 is 65534
|
/art/libnativeloader/ |
D | README.md | 6 libnativeloader is responsible for loading native shared libraries (`*.so` 11 The most typical use case of this library is calling `System.loadLibrary(name)`. 12 When the method is called, the ART runtime delegates the call to this library 15 a number to make it unique) that is associated with the given classloader, and 17 loading, and linking of the library is performed by the dynamic linker. 19 The linker namespace is created when an APK is loaded into the process, and is 20 associated with the classloader that loaded the APK. The linker namespace is 21 configured so that only the JNI libraries embedded in the APK is accessible 25 The linker namespace is also configured differently depending on other 26 characteristics of the APK such as whether or not the APK is bundled with the [all …]
|
/art/test/1970-force-early-return-long/ |
D | expected-stdout.txt | 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } is 1 6 result for (ID: 1) StandardTestObject { cnt: 1 } is 987000 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } is 1 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is 987001 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } is 1 18 result for (ID: 5) SynchronizedTestObject { cnt: 1 } is 987002 21 NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } is 1 24 result for (ID: 7) StandardTestObject { cnt: 1 } is 987003 27 NORMAL RUN: result for (ID: 8) FieldBasedTestObject { TARGET_FIELD: 10 } is 10 30 result for (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0 } is 987004 [all …]
|
D | expected-stdout.jvm.txt | 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } is 1 6 result for (ID: 1) StandardTestObject { cnt: 1 } is 987000 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } is 1 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is 987001 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } is 1 18 result for (ID: 5) SynchronizedTestObject { cnt: 1 } is 987002 21 NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } is 1 24 result for (ID: 7) StandardTestObject { cnt: 1 } is 987003 27 NORMAL RUN: result for (ID: 8) FieldBasedTestObject { TARGET_FIELD: 10 } is 10 30 result for (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0 } is 987004 [all …]
|
/art/test/020-string/ |
D | expected-stdout.txt | 1 testStr is 'This is a very nice string' 2 This is a very nice string 3 Compare result is greater than zero 6 subStr is 'uick brown fox jumps over the lazy '
|
/art/test/1954-pop-frame-jit/ |
D | expected-stdout.jvm.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
/art/test/1956-pop-frame-jit-calling/ |
D | expected-stdout.jvm.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
/art/test/1953-pop-frame/ |
D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
D | expected-stdout.no-jvm.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
/art/test/1955-pop-frame-jit-called/ |
D | expected-stdout.jvm.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 18 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 [all …]
|
/art/test/1968-force-early-return/ |
D | expected-stdout.txt | 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } is IntContainer { value: 1 } 6 result for (ID: 1) StandardTestObject { cnt: 1 } is OveriddenReturnValue { id: 0 } 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } is IntContainer { value: 1… 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is OveriddenReturnValue { id: 1 } 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } is IntContainer { value: 1 } 18 result for (ID: 5) SynchronizedTestObject { cnt: 1 } is OveriddenReturnValue { id: 2 } 21 NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } is IntContainer { value: 1 } 24 result for (ID: 7) StandardTestObject { cnt: 1 } is OveriddenReturnValue { id: 3 } 27 NORMAL RUN: result for (ID: 8) FieldBasedTestObject { TARGET_FIELD: 10 } is IntContainer { value: 1… 30 result for (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0 } is OveriddenReturnValue { id: 4 } [all …]
|
D | expected-stdout.jvm.txt | 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } is IntContainer { value: 1 } 6 result for (ID: 1) StandardTestObject { cnt: 1 } is OveriddenReturnValue { id: 0 } 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } is IntContainer { value: 1… 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is OveriddenReturnValue { id: 1 } 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } is IntContainer { value: 1 } 18 result for (ID: 5) SynchronizedTestObject { cnt: 1 } is OveriddenReturnValue { id: 2 } 21 NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } is IntContainer { value: 1 } 24 result for (ID: 7) StandardTestObject { cnt: 1 } is OveriddenReturnValue { id: 3 } 27 NORMAL RUN: result for (ID: 8) FieldBasedTestObject { TARGET_FIELD: 10 } is IntContainer { value: 1… 30 result for (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0 } is OveriddenReturnValue { id: 4 } [all …]
|
/art/runtime/ |
D | monitor_inflation.md | 4 Every Java object conceptually has an associated monitor that is used to implement `synchronized` 6 is represented by the 32-bit `LockWord` in every object. This same word is also used to represent 17 address" state. In that case the above information is instead contained in the `LockWord` for the 22 A `MonitorId` is logically a pointer to a `Monitor` structure. The `Monitor` data structure is 24 synchronization operation provided by Java. On 32-bit implementations, it is essentially a 26 required for other purposes. In a 64-bit environment, the situation is more complicated, since we 34 structure, which is logically a two-dimensional, vaguely triangular, array of pointers to chunks 35 Each row is allocated separately, and twice as long as the previous one. (Thus the array is not 41 to find the rows, but exponential growth of the rows makes that tiny.) And there is no need to 44 The above data structure is distinct from the `MonitorList` data structure, which is used simply [all …]
|
/art/test/1912-get-set-local-primitive/ |
D | expected-stdout.txt | 3 Value is '42' (class: class java.lang.Integer) 6 Value is '42' (class: class java.lang.Integer) 9 Value is '42' (class: class java.lang.Integer) 12 Value is '42' (class: class java.lang.Integer) 15 Value is '42' (class: class java.lang.Integer) 18 Value is '2147483647' (class: class java.lang.Integer) 21 Value is '42' (class: class java.lang.Integer) 24 Value is '42' (class: class java.lang.Integer) 27 Value is '42' (class: class java.lang.Integer) 30 Value is '42' (class: class java.lang.Integer) [all …]
|
/art/test/1967-get-set-local-bad-slot/ |
D | expected-stdout.txt | 3 Value is '42' (class: class java.lang.Integer) 6 Value is '42' (class: class java.lang.Integer) 9 Value is '42' (class: class java.lang.Integer) 12 Value is '42' (class: class java.lang.Integer) 15 Value is '42' (class: class java.lang.Integer) 18 Value is '42' (class: class java.lang.Integer) 21 Value is '42' (class: class java.lang.Integer) 24 Value is '42' (class: class java.lang.Integer) 27 Value is '42' (class: class java.lang.Integer) 30 Value is '42' (class: class java.lang.Integer) [all …]
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | README.md | 3 tiallocsample is a JVMTI agent designed to track the call stacks of allocations 17 The agent is loaded using -agentpath like normal. It takes arguments in the 21 * sample_rate is an integer specifying how frequently an event is reported. 23 * stack_depth_limit is an integer that determines the number of frames the deepest stack trace 24 can contain. It returns just the top portion if the limit is exceeded. 25 * log_path is an absolute file path specifying where the log is to be written. 29 The resulting file is a sequence of object allocations, with a limited form of 59 The line starting with 0 is the thread, type, and size (TTS) of an allocation. The 62 example above, an ST called 16 is the TTS plus sequence of SFs. Any line not starting 63 with + or = is a sample. It is a reference to an ST. Hence repeated samples are
|