81a7f3e131
- Serial scavenge - Serial marking - Redudant safepoint operation scope - Redudant Thread::Current - Unused HandleVisitor::thread_ - Profile tag updates in PRODUCT mode - Freelist printing TEST=ci Change-Id: I2de4c50df37c7ebe9d267514bcbd548dd61a5a57 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426582 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
26 lines
585 B
C++
26 lines
585 B
C++
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#ifndef RUNTIME_VM_HANDLE_VISITOR_H_
|
|
#define RUNTIME_VM_HANDLE_VISITOR_H_
|
|
|
|
#include "vm/allocation.h"
|
|
|
|
namespace dart {
|
|
|
|
class HandleVisitor {
|
|
public:
|
|
HandleVisitor() {}
|
|
virtual ~HandleVisitor() {}
|
|
|
|
virtual void VisitHandle(uword addr) = 0;
|
|
|
|
private:
|
|
DISALLOW_COPY_AND_ASSIGN(HandleVisitor);
|
|
};
|
|
|
|
} // namespace dart
|
|
|
|
#endif // RUNTIME_VM_HANDLE_VISITOR_H_
|