- 13 May, 2016 5 commits
-
-
Hiroshi Yamauchi authored
-
Przemyslaw Szczepaniak authored
-
Przemyslaw Szczepaniak authored
Recent change in libcore (a move of clinit code to register function for java.net.InetAddress class) was triggering a failure in 119-noimage-patchoat test. Failure was occurring when the test was running without the image. This was caused by the java.lang.reflect.Field not being initialized when running InetAddress.<clinit>, which is a side effect of calling JNIEnv->GetMethodId inside the libcore JNI_OnLoad. This changes makes sure that this class is initialized when we're running without image. Bug: 28153851 Change-Id: I8aeb5eb312a163c452c40b851112544a8340e488
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
Fails heap poisoning configuration. This reverts commit afdc97eb. Change-Id: I50e53756a2b85059b89cfb8950f8c9e2b032743c
-
- 12 May, 2016 9 commits
-
-
Aart Bik authored
-
Treehugger Robot authored
-
Richard Uhler authored
-
Aart Bik authored
Also adds 16 bit literal information. Rationale: When "run-away" instructions are disassembled, the literal addresses may go out of range, causing oatdump to crash. This CL guards memory access against the full memory range allocated to assembly instructions and data (it is possible but not really necessary to refine this a bit). Out of range arguments are now displayed as (?) to denote the issue, which is a lot nicer than crashing. BUG=28670871 Change-Id: I51e9b6a6a99162546fe31059f14278e8980451c2
-
Richard Uhler authored
sepolicy says we can create the mark files, but open requires additional permissions we don't need. Don't print a warning when we aren't given those additional permissions. Bug: 28241500 (cherry picked from commit 12e41576) Change-Id: I272befdb4fa58a0adf550fde52ddab5b5f5a9fe3
-
Roland Levillain authored
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
GVN was implicitly extending the liveness of an instruction across an irreducible loop. Fix this problem by clearing the value set at loop entries that contain an irreducible loop. bug:28252896 (cherry picked from commit 77ce6430) Change-Id: Ie0121e83b2dfe47bcd184b90a69c0194d13fce54
-
Hiroshi Yamauchi authored
We get DCHECK failures in ~Mutex() called from an atexit handler on System.exit() in some tests. To avoid it, use _exit instead of exit. Bug: 28106055 Change-Id: I2a6d2ad8170327553c9c9f0049829e3fd3937180
-
- 11 May, 2016 10 commits
-
-
Mathieu Chartier authored
-
Mathieu Chartier authored
Shows up in traces.txt, sample output: Histogram of native allocation 0:4315,131072:33,1179648:3 bucket size 131072 Histogram of native free 0:995,131072:19,1179648:2 bucket size 131072 Bug: 28680116 (cherry picked from commit 0dce75dc) Change-Id: Iaa07c6b8da0d6bab64a8fd4af8a02fc0b8c70e9e
-
Mathieu Chartier authored
-
Mathieu Chartier authored
There was race condition where the GC would be visiting the methods of a class while the class linker overwrote the contents with 0xFE when copying to a new array. Since the GC is holding the class table lock at this time, we can use this lock in the class linker to prevent the race. Bug: 28699001 Change-Id: I91ca2406ef723e7be69cd1c53f4bafa2e5f63657
-
Alex Light authored
-
Roland Levillain authored
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
bug:28574453 This reverts commit e85dff7f. Change-Id: I95218cd90d696dd1db95eda05817bdd43ccfff9e
-
Mathieu Chartier authored
-
Mathieu Chartier authored
Revert "Revert "Revert "Remove double unloading hack""" This reverts commit c0f2e678. Revert "Revert "Revert "Revert "Revert "(dl)Close native libraries on unload""""" This reverts commit 33bae7d5. Still flaky. Bug: 28406866 Change-Id: I31a9ace17c676ac615ed04a9f4ac51582fca55d9
-
- 10 May, 2016 16 commits
-
-
Mathieu Chartier authored
* changes: Revert "Revert "Revert "Revert "(dl)Close native libraries on unload"""" Revert "Revert "Remove double unloading hack""
-
Aart Bik authored
-
Alex Light authored
-
Treehugger Robot authored
-
Alex Light authored
This reverts commit 4650c939. Change-Id: I3814c6a579d3d88222b53d7ae63a2d4b03b620a7
-
Alex Light authored
-
Mathieu Chartier authored
This reverts commit 624b68ec.
-
Mathieu Chartier authored
This reverts commit e9cae495.
-
Aart Bik authored
Rationale: When entering the path that implements method invocation, it is possible for the interpreter and JIT to cycle around trying to interpret or compile a method, never making a decision. This bug fix avoids such cycling with a minimum of extra runtime overhead. BUG=28537292 Change-Id: If805b7bc0279019d0ebf322ddd17cb57a9e884eb
-
Jeff Hao authored
Native support for new DexFile.isBackedByOatFile. Part of a multi-project change. Bug: 26880306 (cherry-picked from commit 93a66cc779898d46c620e5d9c8bc71e2a71f6610) Change-Id: I8843d13d961b24a7caec549abe630524d734e78e
-
Alex Light authored
Bug: 28659889 Change-Id: I4307916c79e7b56608c3ff5c9bbe83e175254f28
-
Richard Uhler authored
So that the native library isn't unloaded before we have a chance to call the freeFunction. Bug: 28406866 (cherry picked from commit 7d3c7390) Change-Id: I38edb9ba6855ef98743001e4bbf4fd80fb27873d
-
Vladimir Marko authored
-
Narayan Kamath authored
-
Treehugger Robot authored
-
Vladimir Marko authored
Use an ArenaBitVector instead of an ArenaSet<> that leaks its allocated memory on clear(). We were also erroneously using the O(n) helper ContainsElement() for the ArenaSet<> instead of the O(log n) ArenaSet<>::find() which made the methods with large number of processed Phis also very slow to compile in addition to the enormous memory usage. Bug: 28684584 Change-Id: Idc7604e51cfae643debd0378baf828a1430ec14c
-