| Index: runtime/vm/safepoint.h
|
| diff --git a/runtime/vm/safepoint.h b/runtime/vm/safepoint.h
|
| index 5547ce7ad86d406b5296c9a0d493c66b9403ecab..c522ac9e255fb214e14951105a7179b1fe20ee7b 100644
|
| --- a/runtime/vm/safepoint.h
|
| +++ b/runtime/vm/safepoint.h
|
| @@ -23,7 +23,6 @@ class SafepointOperationScope : public StackResource {
|
| DISALLOW_COPY_AND_ASSIGN(SafepointOperationScope);
|
| };
|
|
|
| -
|
| // Implements handling of safepoint operations for all threads in an Isolate.
|
| class SafepointHandler {
|
| public:
|
| @@ -94,7 +93,6 @@ class SafepointHandler {
|
| friend class SafepointOperationScope;
|
| };
|
|
|
| -
|
| /*
|
| * Set of StackResource classes to track thread execution state transitions:
|
| *
|
| @@ -152,7 +150,6 @@ class TransitionSafepointState : public StackResource {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionSafepointState);
|
| };
|
|
|
| -
|
| // TransitionGeneratedToVM is used to transition the safepoint state of a
|
| // thread from "running generated code" to "running vm code" and ensures
|
| // that the state is reverted back to "running generated code" when
|
| @@ -180,7 +177,6 @@ class TransitionGeneratedToVM : public TransitionSafepointState {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionGeneratedToVM);
|
| };
|
|
|
| -
|
| // TransitionGeneratedToNative is used to transition the safepoint state of a
|
| // thread from "running generated code" to "running native code" and ensures
|
| // that the state is reverted back to "running generated code" when
|
| @@ -208,7 +204,6 @@ class TransitionGeneratedToNative : public TransitionSafepointState {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionGeneratedToNative);
|
| };
|
|
|
| -
|
| // TransitionVMToBlocked is used to transition the safepoint state of a
|
| // thread from "running vm code" to "blocked on a monitor" and ensures
|
| // that the state is reverted back to "running vm code" when
|
| @@ -233,7 +228,6 @@ class TransitionVMToBlocked : public TransitionSafepointState {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionVMToBlocked);
|
| };
|
|
|
| -
|
| // TransitionVMToNative is used to transition the safepoint state of a
|
| // thread from "running vm code" to "running native code" and ensures
|
| // that the state is reverted back to "running vm code" when
|
| @@ -258,7 +252,6 @@ class TransitionVMToNative : public TransitionSafepointState {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionVMToNative);
|
| };
|
|
|
| -
|
| // TransitionVMToGenerated is used to transition the safepoint state of a
|
| // thread from "running vm code" to "running generated code" and ensures
|
| // that the state is reverted back to "running vm code" when
|
| @@ -286,7 +279,6 @@ class TransitionVMToGenerated : public TransitionSafepointState {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionVMToGenerated);
|
| };
|
|
|
| -
|
| // TransitionNativeToVM is used to transition the safepoint state of a
|
| // thread from "running native code" to "running vm code" and ensures
|
| // that the state is reverted back to "running native code" when
|
| @@ -311,7 +303,6 @@ class TransitionNativeToVM : public TransitionSafepointState {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionNativeToVM);
|
| };
|
|
|
| -
|
| // TransitionToGenerated is used to transition the safepoint state of a
|
| // thread from "running vm code" or "running native code" to
|
| // "running generated code" and ensures that the state is reverted back
|
| @@ -346,7 +337,6 @@ class TransitionToGenerated : public TransitionSafepointState {
|
| DISALLOW_COPY_AND_ASSIGN(TransitionToGenerated);
|
| };
|
|
|
| -
|
| // TransitionToVM is used to transition the safepoint state of a
|
| // thread from "running native code" to "running vm code"
|
| // and ensures that the state is reverted back to "running native code"
|
|
|