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

Unified Diff: runtime/vm/object.h

Issue 1930263002: Don't include dependent code arrays in snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 902ea91ed2b0515e3ffa8464f4976bc26a5b3e70..38d3d14c568c4716c4fff9bfc679869070ecbc16 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1386,8 +1386,11 @@ class Class : public Object {
void DisableCHAOptimizedCode(const Class& subclass);
- RawArray* cha_codes() const { return raw_ptr()->cha_codes_; }
- void set_cha_codes(const Array& value) const;
+ // Return the list of code objects that were compiled using CHA of this class.
+ // These code objects will be invalidated if new subclasses of this class
+ // are finalized.
+ RawArray* dependent_code() const { return raw_ptr()->dependent_code_; }
+ void set_dependent_code(const Array& array) const;
bool TraceAllocation(Isolate* isolate) const;
void SetTraceAllocation(bool trace_allocation) const;
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698