| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 security_token_id_(TokenEnumerator::kNoSecurityToken), | 489 security_token_id_(TokenEnumerator::kNoSecurityToken), |
| 490 children_(1), | 490 children_(1), |
| 491 retainers_(0), | 491 retainers_(0), |
| 492 retaining_paths_(0), | 492 retaining_paths_(0), |
| 493 total_size_(kUnknownSize), | 493 total_size_(kUnknownSize), |
| 494 non_shared_total_size_(kUnknownSize), | 494 non_shared_total_size_(kUnknownSize), |
| 495 painted_(kUnpainted) { } | 495 painted_(kUnpainted) { } |
| 496 HeapEntry(HeapSnapshot* snapshot, | 496 HeapEntry(HeapSnapshot* snapshot, |
| 497 Type type, | 497 Type type, |
| 498 const char* name, | 498 const char* name, |
| 499 int id, | 499 uint64_t id, |
| 500 int self_size, | 500 int self_size, |
| 501 int security_token_id) | 501 int security_token_id) |
| 502 : snapshot_(snapshot), | 502 : snapshot_(snapshot), |
| 503 visited_(false), | 503 visited_(false), |
| 504 type_(type), | 504 type_(type), |
| 505 name_(name), | 505 name_(name), |
| 506 id_(id), | 506 id_(id), |
| 507 next_auto_index_(1), | 507 next_auto_index_(1), |
| 508 self_size_(self_size), | 508 self_size_(self_size), |
| 509 security_token_id_(security_token_id), | 509 security_token_id_(security_token_id), |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 HeapSnapshot* snapshot_; | 844 HeapSnapshot* snapshot_; |
| 845 | 845 |
| 846 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotGenerator); | 846 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotGenerator); |
| 847 }; | 847 }; |
| 848 | 848 |
| 849 } } // namespace v8::internal | 849 } } // namespace v8::internal |
| 850 | 850 |
| 851 #endif // ENABLE_LOGGING_AND_PROFILING | 851 #endif // ENABLE_LOGGING_AND_PROFILING |
| 852 | 852 |
| 853 #endif // V8_PROFILE_GENERATOR_H_ | 853 #endif // V8_PROFILE_GENERATOR_H_ |
| OLD | NEW |