Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3951f709 authored by Dmitrii Ishcheikin's avatar Dmitrii Ishcheikin
Browse files

Update dirty-image-objects file

Split dirty-image-objects file between ART and framework modules -
depending on where the classes are defined.
This will allow dirty-image-objects to stay relevant in case only one of
the modules is updated.
Add .txt extension to dirty-image-objects file.
Update AndroidRuntime to use new paths.

Bug: 346990440
Test: presubmit
Test: install ART jitzygote module, check that dex2oat receives new
paths to dirty-image-objects files

Change-Id: I77ff6bfa8d0f78fc1f493651879873cb33100e78
parent 993bad4e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -43,6 +43,6 @@ filegroup {

prebuilt_etc {
    name: "dirty-image-objects",
    src: "dirty-image-objects",
    filename: "dirty-image-objects",
    src: "dirty-image-objects.txt",
    filename: "dirty-image-objects.txt",
}
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ include /ZYGOTE_OWNERS

# art-team@ manages the boot image profiles
per-file boot-* = islamelbanna@google.com, ngeoffray@google.com, vmarko@google.com
per-file dirty-image-objects = ishcheikin@google.com, ngeoffray@google.com, vmarko@google.com
per-file dirty-image-objects.txt = ishcheikin@google.com, ngeoffray@google.com, vmarko@google.com
per-file generate-preloaded-classes.sh = islamelbanna@google.com, ngeoffray@google.com, vmarko@google.com
per-file preloaded-classes* = islamelbanna@google.com, ngeoffray@google.com, vmarko@google.com
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
* boot-profile.txt: An ordered list of methods from the boot classpath to be compiled by
  the JIT in the order provided in the file. Used by JIT zygote, when on-device
  signing failed.
* dirty-image-objects: List of objects in the boot image which are known to
* dirty-image-objects.txt: List of objects in the boot image which are known to
  become dirty. This helps binning objects in the image file.
* preloaded-classes: classes that will be allocated in the boot image, and
  initialized by the zygote.

config/dirty-image-objects

deleted100644 → 0
+0 −1728

File deleted.

Preview size limit exceeded, changes collapsed.

+1391 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading