Merge "Add HighAtomic to pagetypeinfo, and don't fail if a header can't be found in proto definition."
This commit is contained in:
committed by
Android (Google) Code Review
commit
5e589b7fec
@@ -104,7 +104,8 @@ PageTypeInfoParser::Parse(const int in, const int out) const
|
||||
|
||||
for (size_t i=0; i<blockHeader.size(); i++) {
|
||||
if (!table.insertField(&proto, blockHeader[i], blockCounts[i+1])) {
|
||||
return BAD_VALUE;
|
||||
fprintf(stderr, "Header %s has bad data %s\n", blockHeader[i].c_str(),
|
||||
blockCounts[i+1].c_str());
|
||||
}
|
||||
}
|
||||
} else return BAD_VALUE;
|
||||
|
||||
@@ -58,7 +58,7 @@ message PageTypeInfoProto {
|
||||
}
|
||||
repeated MigrateType migrate_types = 3;
|
||||
|
||||
// Next tag: 9
|
||||
// Next tag: 10
|
||||
message Block {
|
||||
option (android.msg_privacy).dest = DEST_AUTOMATIC;
|
||||
|
||||
@@ -77,6 +77,8 @@ message PageTypeInfoProto {
|
||||
optional int32 reserve = 7;
|
||||
|
||||
optional int32 isolate = 8;
|
||||
|
||||
optional int32 highatomic = 9;
|
||||
}
|
||||
repeated Block blocks = 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user