Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 861) sorted by relevance

12345678910>>...35

/art/test/921-hello-failure/
Dexpected.txt2 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
5 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
8 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
11 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
14 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
17 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
21 …ransformation error : java.lang.Exception(Failed to redefine classes <LTransform2;, LTransform;> d…
24 …ransformation error : java.lang.Exception(Failed to redefine classes <LTransform;, LTransform2;> d…
29 …ansformation error : java.lang.Exception(Failed to retransform classes <LTransform2;, LTransform;>…
32 …ansformation error : java.lang.Exception(Failed to retransform classes <LTransform;, LTransform2;>…
[all …]
/art/test/922-properties/
Dexpected.txt3 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
5 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
7 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
9 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
11 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
13 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
17 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
19 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
21 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
23 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE
[all …]
/art/test/1967-get-set-local-bad-slot/
Dexpected.txt2 "GetInt_at_too_high" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to
5 …n public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to JVMTI_ERROR_INVALID_…
8 …n public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to JVMTI_ERROR_INVALID_…
11 …tatic void art.Test1967.IntMethod(java.lang.Runnable) failed to set value 2147483647 due to JVMTI_…
14 …c void art.Test1967.IntMethod(java.lang.Runnable) failed to set value 9223372036854775807 due to J…
17 …tatic void art.Test1967.IntMethod(java.lang.Runnable) failed to set value NEW_FOR_SET due to JVMTI…
20 "GetInt_at_negative" on public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to
23 …n public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to JVMTI_ERROR_INVALID_…
26 …n public static void art.Test1967.IntMethod(java.lang.Runnable) failed due to JVMTI_ERROR_INVALID_…
29 …tatic void art.Test1967.IntMethod(java.lang.Runnable) failed to set value 2147483647 due to JVMTI_…
[all …]
/art/test/136-daemon-jni-shutdown/
Dexpected.txt2 About to call exception check
3 About to call exception check
4 About to call exception check
5 About to call exception check
/art/tools/jfuzz/
DREADME.md11 JFuzz can be combined with DexFuzz to get multi-layered fuzz testing.
13 How to run JFuzz
36 The current version of JFuzz sends all output to stdout, and uses
45 How to start JFuzz testing
60 --num_tests : number of tests to run (10000 by default)
61 --device : target device serial number (passed to adb -s)
69 --report_script : path to script called for each divergence
72 --dexer=DEXER : use either dx or d8 to obtain dex files
75 How to start JFuzz nightly testing
83 --num_proc : number of run_jfuzz_test.py instances to run (8 by default)
[all …]
/art/runtime/
Dmethod_handles_test.cc64 Handle<mirror::Class> to, in TryConversion() argument
69 Handle<mirror::MethodType> to_mt = hs.NewHandle(CreateVoidMethodType(self, to)); in TryConversion()
70 return ConvertJValueCommon(from_mt, to_mt, from.Get(), to.Get(), value); in TryConversion()
85 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F() local
87 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F()
97 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J')); in TEST_F() local
100 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F()
110 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('F')); in TEST_F() local
112 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F()
122 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F() local
[all …]
/art/test/1912-get-set-local-primitive/
Dexpected.txt5 "GetLong" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ERRO…
8 "GetFloat" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ERR…
11 "GetDouble" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ER…
14 "GetObject" on public static void art.Test1912.IntMethod(java.lang.Runnable) failed due to JVMTI_ER…
20 …c void art.Test1912.IntMethod(java.lang.Runnable) failed to set value 9223372036854775807 due to J…
23 …ic static void art.Test1912.IntMethod(java.lang.Runnable) failed to set value 9.2 due to JVMTI_ERR…
26 …c static void art.Test1912.IntMethod(java.lang.Runnable) failed to set value 12.4 due to JVMTI_ERR…
29 …ic void art.Test1912.IntMethod(java.lang.Runnable) failed to set value NEW_VALUE_FOR_SET due to JV…
32 …c static void art.Test1912.IntMethod(java.lang.Runnable) failed to set value null due to JVMTI_ERR…
35 "GetInt" on public static void art.Test1912.LongMethod(java.lang.Runnable) failed due to JVMTI_ERRO…
[all …]
/art/test/600-verifier-fails/
Dinfo.txt6 not hide the hard verification failure (on the type mismatch) to
10 bail immediately and not allow soft verification failures to pile up
11 behind it to avoid fatal message later on
13 access validation on field should occur prior to null reference check
16 verification failure (non-reference type) to avoid a compiler crash
19 access validation on method should occur prior to null reference check
21 new-instance of java.lang.Class should throw an IllegalAccessError to
/art/tools/jvmti-agents/jit-load/
DREADME.md3 Jitload is an art-specific agent allowing one to count the number of classes
10 The libraries will be built for 32-bit, 64-bit, host and target. Below examples assume you want to
15 * `-Xplugin` and `-agentpath` need to be used, otherwise libtitrace agent will fail during init.
16 * If using `libartd.so`, make sure to use the debug version of jvmti and agent.
17 * Pass the '=fatal' option to the agent to cause it to abort if any classes are
30 killed, so we need to manually print the results.
34 Will initiate a dump of the counts (to logcat).
/art/tools/dexfuzz/
DREADME5 subtle changes ("mutations") to a file to produce a new test case. These test cases
6 can be used to test the various modes of execution available to ART (Interpreter,
7 Optimizing compiler) to check for bugs in these modes of execution.
21 How to run DexFuzz
32 having DEX files pushed to it and executed with the dalvikvm command.
36 that are mutated to form new tests.
37 5. Create a directory on your device that mutated test files can be pushed to and
56 Note that if you wanted to test both ARM and ARM64 on an ARM64 device, you can use
57 --allarm. Also in this case only one backend is needed, if i.e., you wanted to test
65 Add in --device=<device name, e.g. device:generic> if you want to specify a device.
[all …]
/art/tools/jvmti-agents/titrace/
DREADME.md9 The libraries will be built for 32-bit, 64-bit, host and target. Below examples assume you want to
14 * `-Xplugin` and `-agentpath` need to be used, otherwise libtitrace agent will fail during init.
15 * If using `libartd.so`, make sure to use the debug version of jvmti.
19 Only needs `-agentpath` to be specified.
23 Normal applications require that `debuggable=true` to be set in their AndroidManifest.xml.
29 Then restart the runtime to pick it up.
33 #### Deploy agent to device
38 Upload to device first (it gets shell/root permissions).
44 #### Attach agent to application
49 Note: To determine the arguments to `am start`, launch the application manually first and then look…
[all …]
/art/tools/jvmti-agents/simple-force-redefine/
DREADME.md4 allows one to force classes to be redefined by writing to a fifo or give a process a list of
5 classes to try redefining. Currently the redefinition is limited to adding (or removing) a single
13 assume you want to use the 64-bit version.
26 Since the agent has no static state it can be attached multiple times to the same process.
32 One can also use fifos to send classes interactively to the process. (TODO: Have the agent
/art/test/1957-error-ext/
Dexpected.txt2 Got class java.lang.Exception: Failed to redefine class <Lart/Test1957$Transform;> due to JVMTI_ERR…
3 …LURE TO REDEFINE Unable to perform redefinition of 'Lart/Test1957$Transform;': Total number of dec…
/art/test/954-invoke-polymorphic-verifier/
Dexpected.txt1 …ed class MethodHandleNotInvoke: void MethodHandleNotInvoke.<init>() failed to verify: void MethodH…
2 …cted class MethodHandleToString: void MethodHandleToString.<init>() failed to verify: void MethodH…
3 …nce: void NonReference.<init>() failed to verify: void NonReference.<init>(): void NonReference.<i…
4 …ifier rejected class TooFewArguments: void TooFewArguments.<init>() failed to verify: void TooFewA…
5 …ier rejected class TooManyArguments: void TooManyArguments.<init>() failed to verify: void TooMany…
6 java.lang.VerifyError: Verifier rejected class BadThis: void BadThis.<init>() failed to verify: voi…
7 …ss FakeSignaturePolymorphic: void FakeSignaturePolymorphic.<init>() failed to verify: void FakeSig…
8 …eSignaturePolymorphic: void BetterFakeSignaturePolymorphic.<init>() failed to verify: void BetterF…
10 java.lang.VerifyError: Verifier rejected class Unresolved: void Unresolved.<init>() failed to verif…
12 ….compareAndExchange(java.lang.invoke.VarHandle, java.lang.Object[]) failed to verify: void VarHand…
[all …]
/art/libartbase/base/unix_file/
DREADME3 This is intended to be lightweight and easy to use, similar to Java's
8 it's trivial to add new implementations.
14 of multiple sub-operations, it will return the errno corresponding to the most
/art/runtime/interpreter/mterp/arm/
Dfloating_point.S23 GOTO_OPCODE ip @ jump to next instruction
43 SET_VREG_FLOAT_BY_ADDR s2, r9 @ vAA<- s2 No need to clear as it's 2addr
341 b __aeabi_d2lz @ tail call to convert double to long
347 adds r1, r1, r1 @ sign bit to carry
351 adc r1, r1, #0 @ convert maxlong to minlong if exp negative
382 b __aeabi_f2lz @ tail call to convert float to long
387 adds r0, r0, r0 @ sign bit to carry
391 adc r1, r1, #0 @ convert maxlong to minlong if exp negative
/art/test/674-hiddenapi/
Dinfo.txt3 tries to access them with reflection/JNI/MethodHandles or link against them.
7 The test then proceeds to exercise the following combinations of class loading:
10 the parent does not belong to boot class path.
11 (b) Parent is appended to boot class path, child is loaded with PathClassLoader.
12 In this situation child should not be able to access hidden methods/fields
14 (c) Both parent and child are appended to boot class path. Restrictions should
/art/tools/jvmti-agents/wrapagentproperties/
DREADME.md11 assume you want to use the 64-bit version.
15 …agentpath:$ANDROID_HOST_OUT/lib64/libwrapagentproperties.so=/path/to/prop.file,/path/to/agent=agen…
17 * `-Xplugin` and `-agentpath` need to be used, otherwise libtitrace agent will fail during init.
18 * If using `libartd.so`, make sure to use the debug version of jvmti.
23 wish to override. The format is property=value on each line. Blank lines and
/art/tools/jvmti-agents/dump-jvmti-state/
DREADME.md4 allows one to use SIGQUIT to dump information about the current JVMTI state to logcat. It does
12 assume you want to use the 64-bit version.
18 * `-Xplugin` and `-agentpath` need to be used, otherwise the agent will fail during init.
19 * If using `libartd.so`, make sure to use the debug version of jvmti.
/art/test/998-redefine-use-after-free/
Dinfo.txt3 It was possible for the JVMTI class redefinition to encounter a use-after-free
4 bug if there had been an attempted redefinition that failed due to a
6 required that a later redefinition happen to get the same native pointer for its
10 to segfaults to incorrect redefinition failures (for example on buggy builds
/art/cmdline/
DREADME.md7 long term goal is eventually for all `art` command-line tools to be using these helpers.
15 The `CmdlineParser` class provides a fluent interface using a domain-specific language to quickly
17 it can parse a string into a `VariantMap`, although in the future it might be desirable to parse
24 For example, to save the values into a user-defined variant map:
33 // See variant_map_test.cc for how to completely define a custom map.
80 The simplest kind of argument just tests for presence, but we often want to parse out a particular
82 _wildcard_ must be used to denote the location within the token that the type will be parsed out of.
84 For example with `-orange:_` the parse would know to check all tokens in an `argv` list for the
85 `-orange:` prefix and then strip it, leaving only the remains to be parsed.
88 After an argument definition is provided, the parser builder needs to know what type the argument
[all …]
/art/runtime/interpreter/mterp/
DREADME.txt4 All the architecture-specific template files are concatenated to create
5 one big python script. This generated python script is then executed to
7 * Lines starting with % are python code. They will be copied as-is to
16 The best way to become familiar with the interpreter is to look at the
40 is easy to work with, on others this you will need to count bytes.
47 restricted, as simple macros are used to massage it for use with both C
56 If you change any of the source file fragments, you need to rebuild the
63 The ultimate goal is to have the build system generate the necessary
65 ready to require Python in the build.
71 transitioning from one Dalvik bytecode to the next. Mterp for ARM targets
[all …]
/art/test/109-suspend-check/
Dinfo.txt1 To support garbage collection, debugging and profiling the VM must be able to send all threads
2 to a safepoint. This tests the ability of the VM to do this for a tight loop.
/art/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/art/tools/jvmti-agents/enable-vlog/
DREADME.md4 running process. Currently it only allows one to turn vlog options 'on'.
11 examples assume you want to use the 64-bit version.
13 Use `libenablevlogs` if you wish to build a version without non-NDK dynamic
23 It will cause the runtime to act as though you had passed these after the
24 `-verbose:[...]` argument to `dalvikvm`.
81 the LogVerbosity struct definition and the parser for a up-to-date list.
86 * `-Xplugin` and `-agentpath` need to be used, otherwise the agent will fail during init.
87 * If using `libartd.so`, make sure to use the debug version of jvmti.

12345678910>>...35