1. 07 Apr, 2016 1 commit
    • Narayan Kamath's avatar
      Thread: Don't set native names twice for attached threads. · 2047ef0b
      Narayan Kamath authored
      ART already does this when a threads are attached. There's no need
      to do it another time.
      
      Also add a test that documents the behaviour wrt. to thread naming
      for attached threads.
      
      bug: 27748318
      
      (cherry picked from commit 81888044)
      
      Change-Id: I8b1ac9407114d0fc399a3bc644d45e2f00ef7200
      2047ef0b
  2. 08 Mar, 2016 1 commit
  3. 04 Mar, 2016 1 commit
  4. 19 Feb, 2016 1 commit
  5. 14 Jan, 2016 1 commit
    • Richard Uhler's avatar
      Introduce NativeAllocationRegistry API. · 33fc9556
      Richard Uhler authored
      The NativeAllocationRegistry API provides a way to associate native
      allocations with Java objects. The native allocations will
      automatically be freed when the correspondong Java object becomes
      unreachable.
      
      Use NativeAllocationRegistry for BigInt.
      
      Bug: 23130675
      Change-Id: If89dc03f0668afdecf1086280d16d2803e07a62a
      33fc9556
  6. 08 Jan, 2016 1 commit
    • Narayan Kamath's avatar
      libjavacoretests: clean up dependencies. · 1933a639
      Narayan Kamath authored
      libcrypto isn't used and libnativehelper should be switched over
      to an NDK built version since it's for use from CTS tests.
      
      bug: 26457850
      Change-Id: I3ad754051c4eeaadc501339db9c8782d469018ff
      1933a639
  7. 07 Jan, 2016 1 commit
    • Andreas Gampe's avatar
      Libcore: Add debug version of libopenjdk · 0404f775
      Andreas Gampe authored
      The debug version, libopenjdkd, depends on the debug version for
      the jvm connector, libopenjdkjvmd.
      
      Bug: 26422233
      Change-Id: I78a948bccd4a06e738194537233fa0cfca050087
      0404f775
  8. 24 Dec, 2015 1 commit
  9. 22 Dec, 2015 1 commit
  10. 18 Dec, 2015 1 commit
  11. 17 Dec, 2015 1 commit
    • Alex Klyubin's avatar
      Fix GetDirectBufferAddress for DirectByteBuffer. · 7b676335
      Alex Klyubin authored
      ART's GetDirectBufferAddress(java.nio.Buffer) implementation returns
      the value stored in the Buffer.address field.
      java.nio.DirectByteBuffer was not initializing this field correctly
      when slicing buffers from non-zero position.
      
      This change fixes the issue and adds tests. This change also removes
      the TODO inside DirectByteBuffer.address() because it is now confirmed
      that this method is supposed to return exactly the same value as
      GetDirectBufferAddress.
      
      Bug: 26233076
      Change-Id: I6e7509d443c8cd8ae50eaf1e4ea42d1c04423883
      7b676335
  12. 30 Nov, 2015 1 commit
  13. 24 Nov, 2015 1 commit
  14. 20 Nov, 2015 1 commit
  15. 18 Nov, 2015 2 commits
  16. 16 Nov, 2015 1 commit
  17. 12 Nov, 2015 7 commits
    • Qiwen Zhao's avatar
      break build. · a5f312ce
      Qiwen Zhao authored
      Revert "java.lang.Character implemented using icu4c DO NOT MERGE"
      
      This reverts commit c307caca.
      
      Change-Id: I1c8b6f7ba7b28d578b8081c409d6b8a774918284
      a5f312ce
    • Przemyslaw Szczepaniak's avatar
      java.lang.Character implemented using icu4c DO NOT MERGE · c307caca
      Przemyslaw Szczepaniak authored
      Removed CharacterData* and CharacterName classes.
      + bugfixes from mnc
      
      Bug: 25442844
      Change-Id: Iec64a29a6d2d70a5f4fcc1ada2c2446339965880
      c307caca
    • Przemyslaw Szczepaniak's avatar
      Update makefiles to deal with ICU4J related changes. · e3b37c28
      Przemyslaw Szczepaniak authored
      Change-Id: I3dfbf6b417a883165421b79748ae0bc5bdb4ee1e
      e3b37c28
    • Narayan Kamath's avatar
      Rename native library. · 41a44507
      Narayan Kamath authored
      Change-Id: I62df0291e41199b52409f2a0628646c6bea48d12
      41a44507
    • Narayan Kamath's avatar
      Track proguard mapping for sun.nio.ch / sun.net.spi · ac740d8c
      Narayan Kamath authored
      Change-Id: I1ef3fbece2b44b08e6b2b5168ed34beeee341bd8
      ac740d8c
    • Narayan Kamath's avatar
      Obfuscate core-libart / core-oj using proguard. · b985319c
      Narayan Kamath authored
      The general sequence of operations here is :
      
      (1) Compile core-all with a specified input obfuscation map (see below).
      Classes that aren't specified in the input obfuscation map are
      obfuscated according to proguard's usual algorithm. Classes that match
      keep rules (public API, usually) are left alone. In addition, proguard
      will produce an output obfuscation mapping after it processes this target.
      This will be a superset of the input obfuscation map.
      
      (2) Compile core-all-obfuscated, which uses the same input fileset as
      core-all but has proguard turned off.
      
      (3) Compile core-oj and core-libart against core-all-obfuscated. Then
      apply the obfuscation map from (1).
      
      Why is an input obfuscation map necessary for step (1) ?
      Native methods, mainly. Proguard will leave package names unchanged
      for classes that have native methods. This will force *all* classes in
      that package to have unobfuscated package names since proguard doesn't
      go through the trouble of proving there's no package private accesses
      across these packages. We want to force these classes to be obfuscated,
      but in a manner that allows us to easily to fix up the native code to
      reflect the new naming. This change includes a script that can munge an
      obfuscation map from proguard to force obfuscation of known bad classes
      and packages. In addition, we force proguard to perform an "inconsistent"
      obfuscation for sun.misc. We want to leave the package name for Unsafe
      unchanged but want the rest of the package to be obfuscated. This is
      provably safe because Unsafe doesn't contain any non public methods.
      
      Change-Id: Ibdfb8ca36d6e0bfedd7552268c5cb83e68cccf09
      b985319c
    • Narayan Kamath's avatar
      Build native code for the host. · 4785581a
      Narayan Kamath authored
      Nothing too alarming, except for a change to deal with code
      that assumed imr_multiaddr and imr_interface in ip_mreq were
      uint32_t (like in the kernel UAPI) and not in_addr like they
      are in glibc.
      
      Change-Id: I98f7208939df12edb086e6cdf6f09cec0527ec50
      4785581a
  18. 11 Nov, 2015 1 commit
    • Piotr Jastrzebski's avatar
      Use OpenJdk implementation of java.util.zip.* · a8ed0847
      Piotr Jastrzebski authored
      - Move some of the internal implementation details of libcore's
        zipfile into StrictJarFile.
      - TODO: Adler32 continues to use old native code from libcore, this
        must be switched over.
      - InflaterInputStream: |closed| becomes protected.
      - ZipFile : Always use mmap.
      - ZipEntry : Add a long dataOffset.
      - Switch all native code over to explicit registration.
      
      Change-Id: Id5519b4548ea1eb22fd182edfbd2c804dc6f3bb5
      a8ed0847
  19. 03 Sep, 2015 1 commit
  20. 23 Jun, 2015 1 commit
  21. 12 Jun, 2015 1 commit
  22. 29 Apr, 2015 2 commits
    • Narayan Kamath's avatar
      Use libziparchive shared library on host. · 31538864
      Narayan Kamath authored
      Fixes host run-tests that were broken by de9a75e2ab579804ea44f9688
      
      Change-Id: I0cbd40048f9a222996858f3574d6faa93121a61f
      31538864
    • Narayan Kamath's avatar
      Add a static dependency on libbase. · a9b386f3
      Narayan Kamath authored
      Pulled in by the static libziparchive dependency.
      
      Note that we can't add these dependencies in the sub-makefile
      because libziparchive has different module names for target
      vs host (libziparchve vs libziparchive-host).
      
      Change-Id: Ie2e036f9e1bfd13d439501e2577651e42642c1bd
      a9b386f3
  23. 23 Mar, 2015 1 commit
    • Christopher Ferris's avatar
      Remove forced alignment code. · 08d97aee
      Christopher Ferris authored
      The move from to gcc 4.8 to gcc 4.9 for arm32 introduced a bug in this
      code. The original code is trying to out smart the compiler by arch, but
      we got caught. Running benchmarks, the amount of time we save by doing this
      is in the nanosecond range, so just let the compiler figure things out on
      it's own.
      
      It turns out for aarch64, x86, x86_64, two of the functions produce exactly
      the same code. For swapLongs, x86/x86_64 produces slightly different code
      but is about the same performance.
      
      For arm32, letting the compiler optimize also leads to about the same
      performance.
      
      Adding unit tests and benchmark code for these.
      
      Bug: 19692084
      
      Change-Id: I858eb3147ef1e9e2c1894ddb226cdddcc0baf933
      08d97aee
  24. 06 Mar, 2015 1 commit
  25. 27 Feb, 2015 1 commit
    • Kenny Root's avatar
      Remove OpenSSL ENGINE test · e13589c1
      Kenny Root authored
      The tests that exercise this code were removed. This code doesn't
      compile with BoringSSL, so just remove it.
      
      Change-Id: I9598ef5e5a2d7b7d115b63b5b670976d39ca1405
      e13589c1
  26. 17 Dec, 2014 1 commit
  27. 15 Dec, 2014 1 commit
  28. 05 Nov, 2014 2 commits
  29. 17 Jun, 2014 1 commit
  30. 11 Jun, 2014 1 commit
    • Ian Rogers's avatar
      Fix Mac build. · efae3837
      Ian Rogers authored
      Change-Id: I32fdb9dabbc87d49e0be82ea39c2eea6f452fd6f
      efae3837
  31. 10 Jun, 2014 1 commit
    • Ian Rogers's avatar
      Build fix. · 37dd0ac5
      Ian Rogers authored
      Change-Id: I52559cfcc806dfe0d8682be50a6078cb678e4169
      37dd0ac5