diff options
author | Victor Chang <vichang@google.com> | 2019-10-11 12:09:31 +0100 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2019-10-11 14:20:39 +0100 |
commit | e432968dfcc645efe9c27a81f9a2d982b1a92eb3 (patch) | |
tree | 8c584cd24ed9a88c7df7e647a7890f46b8e17765 /dalvik | |
parent | 435437f4e9ff2becab7b539dd98c7cee53dc4816 (diff) |
Move native code of ICU4C regex usage into external/icu
- The C++ codes are not ABI-stable. This CL moves the interface
between codes in the ART module and i18n module from C++ to Java.
- Expose NativeAllocationRegistry, ReachabilitySensitive as
@IntraCoreApi. NativeAllocationRegistry is already CorePlatformApi
which needs to be stable in the future. It should not cost too much
extra to maintain.
Bug: 138994281
Test: atest --test-mapping libcore/ojluni/src/main/java/java/util/regex:postsubmit
Change-Id: I4caffd5b746ce501b0de252a0a8e4f815ace0a66
Diffstat (limited to 'dalvik')
-rw-r--r-- | dalvik/src/main/java/dalvik/annotation/optimization/ReachabilitySensitive.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dalvik/src/main/java/dalvik/annotation/optimization/ReachabilitySensitive.java b/dalvik/src/main/java/dalvik/annotation/optimization/ReachabilitySensitive.java index 4eea1a58e2..7b82c3cf9a 100644 --- a/dalvik/src/main/java/dalvik/annotation/optimization/ReachabilitySensitive.java +++ b/dalvik/src/main/java/dalvik/annotation/optimization/ReachabilitySensitive.java @@ -79,6 +79,7 @@ import java.lang.annotation.Target; * * @hide */ +@libcore.api.IntraCoreApi @Retention(RetentionPolicy.RUNTIME) // Let the GC or interpreter ask, if they need to. // TODO(b/72332040): Reconsider retention later. @Target({ElementType.FIELD, ElementType.METHOD}) |