Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Issue 163433015: Add sandbox ISA and extra compile flag fields to PNaCl translation cache key (Closed)

Created:
6 years, 10 months ago by Derek Schuff
Modified:
6 years, 10 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, raymes+watch_chromium.org, teravest+watch_chromium.org, yzshen+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, binji, ihf+watch_chromium.org
Visibility:
Public.

Description

Add sandbox ISA and extra compile flag fields to PNaCl translation cache key Previously there was no indication to the translation cache of what architecture the translated nexes were compiled for. This was not a problem in a world where the architecture of chrome (or Windows) did not change, but this will shortly happen on OSX, and we may support multiple sandboxes in the future. This adds 2 fields to the translation cache info, so that we can differentiate the architectures and retrieve nexes that will actually work. The field for extra compile flags is not being used yet, but may be in the future if we start using machine-specific optimizations. R=jvoung@chromium.org,teravest@chromium.org BUG=316912 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251835

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Total comments: 1

Patch Set 3 : rebase #

Patch Set 4 : retry upload #

Patch Set 5 : retry upload again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -16 lines) Patch
M components/nacl/browser/pnacl_translation_cache.cc View 1 2 chunks +8 lines, -2 lines 0 comments Download
M components/nacl/browser/pnacl_translation_cache_unittest.cc View 1 1 chunk +27 lines, -10 lines 0 comments Download
M components/nacl/common/nacl_host_messages.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/nacl/common/pnacl_types.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
ppapi/c/private/ppb_nacl_private.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Derek Schuff
jvoung: review teravest: ppapi OWNERS (however as this doesn't significantly affect the code of the ...
6 years, 10 months ago (2014-02-15 01:45:39 UTC) #1
jvoung (off chromium)
otherwise LGTM https://codereview.chromium.org/163433015/diff/1/components/nacl/browser/pnacl_translation_cache_unittest.cc File components/nacl/browser/pnacl_translation_cache_unittest.cc (right): https://codereview.chromium.org/163433015/diff/1/components/nacl/browser/pnacl_translation_cache_unittest.cc#newcode192 components/nacl/browser/pnacl_translation_cache_unittest.cc:192: PnaclTranslationCache::GetKey(info)); maybe add a test where info.extra_flags ...
6 years, 10 months ago (2014-02-15 02:07:27 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/163433015/diff/1/ppapi/api/private/ppb_nacl_private.idl File ppapi/api/private/ppb_nacl_private.idl (right): https://codereview.chromium.org/163433015/diff/1/ppapi/api/private/ppb_nacl_private.idl#newcode116 ppapi/api/private/ppb_nacl_private.idl:116: * |abi_version|, |opt_level|, |last_modified|, |etag|, and update comment about ...
6 years, 10 months ago (2014-02-15 02:08:44 UTC) #3
Derek Schuff
guess we need +jschuh as well for the new fields in the IPC https://codereview.chromium.org/163433015/diff/1/components/nacl/browser/pnacl_translation_cache_unittest.cc File ...
6 years, 10 months ago (2014-02-15 05:59:18 UTC) #4
jschuh
On 2014/02/15 05:59:18, Derek Schuff wrote: > guess we need +jschuh as well for the ...
6 years, 10 months ago (2014-02-15 15:36:40 UTC) #5
teravest
lgtm
6 years, 10 months ago (2014-02-18 15:23:06 UTC) #6
Derek Schuff
On 2014/02/15 15:36:40, Justin Schuh wrote: > On 2014/02/15 05:59:18, Derek Schuff wrote: > > ...
6 years, 10 months ago (2014-02-18 17:20:31 UTC) #7
jschuh
On 2014/02/18 17:20:31, Derek Schuff wrote: > On 2014/02/15 15:36:40, Justin Schuh wrote: > > ...
6 years, 10 months ago (2014-02-18 17:30:34 UTC) #8
Derek Schuff
The CQ bit was checked by dschuff@chromium.org
6 years, 10 months ago (2014-02-18 18:23:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/163433015/110001
6 years, 10 months ago (2014-02-18 18:34:28 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-18 18:34:32 UTC) #11
commit-bot: I haz the power
Failed to apply patch for ppapi/c/private/ppb_nacl_private.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-18 18:34:33 UTC) #12
Derek Schuff
The CQ bit was checked by dschuff@chromium.org
6 years, 10 months ago (2014-02-18 18:49:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/163433015/370001
6 years, 10 months ago (2014-02-18 18:49:13 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-02-18 20:59:55 UTC) #15
Message was sent while issue was closed.
Change committed as 251835

Powered by Google App Engine
This is Rietveld 408576698