)]}'
{
  "commit": "b3a4e01448a32b2dc53cad8a981ed7c75d12d2cc",
  "tree": "6bf28066ed85e965d1bc141abcdac5c3a5a72a7f",
  "parents": [
    "0be3da60fa382ded4a3f9b714d9da4e22667e15a"
  ],
  "author": {
    "name": "Victor Hsieh",
    "email": "victorhsieh@google.com",
    "time": "Mon Jun 14 12:48:10 2021 -0700"
  },
  "committer": {
    "name": "Treehugger Robot",
    "email": "treehugger-gerrit@google.com",
    "time": "Wed Jun 16 16:52:52 2021 +0000"
  },
  "message": "odrefresh: Support option to run dex2oat in PVM\n\npvm_exec is an executable to run a command remotely, assuming the code\nis also in the VM. Since the input files may not be available in the VM,\npvm_exec internally takes over the FDs and becomes a file server. In the\nremote execution setup, dex2oat receives the same FD numbers, and relies\non \"authfs\", a FUSE client that talkes to the file server, to translate\nthe read/write.\n\nBy wrapping dex2oat with pvm_exec, this change makes it possible run\ndex2oat remotely, though not necessarily securely. For example, a\ncommand is not a secure interface since it allows unlimited numbers of\ncombination of input paramters (or even allow manipulating the\ncompilation, e.g. by adjusting Java property).\n\nWe\u0027ll need to change the interface later. But in the meantime, this\nchange will allow us to iterate more easily.\n\nBug: 187346876\nTest: 1. Start a PVM with ART and CompOS apex mounted\n      2. /apex/com.android.art/bin/odrefresh --use-compos\u003d$CID \\\n         --force-compile\n      # odrefresh returns successfully (though much slower right now)\nChange-Id: I722e5290246e180a89f6d42d9a6bc10c79dc0d1a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "41619442c63a42968bc3d50b3cb8afddfcaa3d2c",
      "old_mode": 33188,
      "old_path": "odrefresh/odr_config.h",
      "new_id": "89ca8c735af0b8996848f9a44557a26b60ba32a9",
      "new_mode": 33188,
      "new_path": "odrefresh/odr_config.h"
    },
    {
      "type": "modify",
      "old_id": "8acaf2266fa27402f7c086dc3e44b611c1bc9021",
      "old_mode": 33188,
      "old_path": "odrefresh/odrefresh.cc",
      "new_id": "aa5b72f38c4885ef3a62b34df48e7e8077497cf4",
      "new_mode": 33188,
      "new_path": "odrefresh/odrefresh.cc"
    }
  ]
}
