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

Side by Side Diff: runtime/vm/clustered_snapshot.h

Issue 2790243003: Do not rewrite the VM isolate's symbol table during AOT snapshots. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_VM_CLUSTERED_SNAPSHOT_H_ 5 #ifndef RUNTIME_VM_CLUSTERED_SNAPSHOT_H_
6 #define RUNTIME_VM_CLUSTERED_SNAPSHOT_H_ 6 #define RUNTIME_VM_CLUSTERED_SNAPSHOT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 #include "vm/bitfield.h" 10 #include "vm/bitfield.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 intptr_t next_index() const { return next_ref_index_; } 370 intptr_t next_index() const { return next_ref_index_; }
371 Heap* heap() const { return heap_; } 371 Heap* heap() const { return heap_; }
372 Snapshot::Kind kind() const { return kind_; } 372 Snapshot::Kind kind() const { return kind_; }
373 373
374 private: 374 private:
375 Heap* heap_; 375 Heap* heap_;
376 Zone* zone_; 376 Zone* zone_;
377 Snapshot::Kind kind_; 377 Snapshot::Kind kind_;
378 ReadStream stream_; 378 ReadStream stream_;
379 InstructionsReader* instructions_reader_; 379 InstructionsReader* instructions_reader_;
380 intptr_t num_base_objects_;
380 intptr_t num_objects_; 381 intptr_t num_objects_;
381 intptr_t num_clusters_; 382 intptr_t num_clusters_;
382 RawArray* refs_; 383 RawArray* refs_;
383 intptr_t next_ref_index_; 384 intptr_t next_ref_index_;
384 DeserializationCluster** clusters_; 385 DeserializationCluster** clusters_;
385 }; 386 };
386 387
387 388
388 class FullSnapshotWriter { 389 class FullSnapshotWriter {
389 public: 390 public:
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 intptr_t size_; 462 intptr_t size_;
462 const uint8_t* instructions_buffer_; 463 const uint8_t* instructions_buffer_;
463 const uint8_t* data_buffer_; 464 const uint8_t* data_buffer_;
464 465
465 DISALLOW_COPY_AND_ASSIGN(FullSnapshotReader); 466 DISALLOW_COPY_AND_ASSIGN(FullSnapshotReader);
466 }; 467 };
467 468
468 } // namespace dart 469 } // namespace dart
469 470
470 #endif // RUNTIME_VM_CLUSTERED_SNAPSHOT_H_ 471 #endif // RUNTIME_VM_CLUSTERED_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698