diff options
| author | Jim Lawson | 2020-03-23 14:12:20 -0700 |
|---|---|---|
| committer | GitHub | 2020-03-23 14:12:20 -0700 |
| commit | 5658865b6140c9a72d1da76631854b1f6efaf861 (patch) | |
| tree | ed46fc29ca71cc5cc59929f46d1529cdbe34f929 /src/main/scala/firrtl/options | |
| parent | 6b97e334e89d5f9d03c6abdd6ef927c3ca0b5030 (diff) | |
Explicitly initialize firrtl.stage.Forms to prevent multi-thread collisions (#1463)
* Explicitly initialize firrtl.stage.Forms to prevent multi-thread collisions
See https://github.com/freechipsproject/firrtl/issues/1462.
Convert `lazy val` members of firrtl.stage.Forms to plan `val`s.
Reference firrtl.stage.Forms in sufficient locations to ensure the object is initialized before its members are accessed.
* Respond to comments - make _dummyForms private.
* Move Forms initialization to package object.
* Merge with master
Diffstat (limited to 'src/main/scala/firrtl/options')
| -rw-r--r-- | src/main/scala/firrtl/options/Stage.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/options/Stage.scala b/src/main/scala/firrtl/options/Stage.scala index 3752b846..2b7bb9d6 100644 --- a/src/main/scala/firrtl/options/Stage.scala +++ b/src/main/scala/firrtl/options/Stage.scala @@ -62,7 +62,6 @@ abstract class Stage extends Phase { * @param stage the stage to run */ class StageMain(val stage: Stage) { - /** The main function that serves as this stage's command line interface. * @param args command line arguments */ |
