You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valYprofileRunGcBetweenPhases:Setting[List[String]] =PhasesSetting("-Yprofile-run-gc", "Run a GC between phases - this allows heap size to be accurate at the expense of more time. Specify a list of phases, or *", "_")
// Scala 2 compiler backport of https://github.com/scala/scala/pull/7364
2
+
/*
3
+
* Scala (https://www.scala-lang.org)
4
+
*
5
+
* Copyright EPFL and Lightbend, Inc.
6
+
*
7
+
* Licensed under Apache License 2.0
8
+
* (http://www.apache.org/licenses/LICENSE-2.0).
9
+
*
10
+
* See the NOTICE file distributed with this work for
11
+
* additional information regarding copyright ownership.
12
+
*/
13
+
14
+
packagedotty.tools.dotc.profile
15
+
16
+
importscala.language.unsafeNulls
17
+
18
+
importjava.io.Closeable
19
+
importjava.lang.management.ManagementFactory
20
+
importjava.nio.file.{Files, Path}
21
+
importjava.util
22
+
importjava.util.concurrent.TimeUnit
23
+
24
+
importscala.collection.mutable
25
+
26
+
objectChromeTrace {
27
+
privateobjectEventType {
28
+
finalvalStart="B"
29
+
finalvalInstant="I"
30
+
finalvalEnd="E"
31
+
finalvalComplete="X"
32
+
33
+
finalvalCounter="C"
34
+
35
+
finalvalAsyncStart="b"
36
+
finalvalAsyncInstant="n"
37
+
finalvalAsyncEnd="e"
38
+
}
39
+
}
40
+
41
+
/** Allows writing a subset of https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview#
42
+
* for use in Chrome's about://tracing or the tooling in https://www.google.com.au/search?q=catapult+tracing&oq=catapult+tracing+&aqs=chrome..69i57.3974j0j4&sourceid=chrome&ie=UTF-8 */
0 commit comments