Jason Zaugg

Results 83 issues of Jason Zaugg

We have been looking at ways to improve the performance of analysis deserialization. In large builds this can be a major factor in the responsiveness of the build when Zinc...

Using Java Mission control, take a heap dump of a running SBT build. The resulting UI includes the JOverflow analysis of opportunities to reduce footprint. `ClassLike.savedAnnotations` contains duplicate strings for...

performance

```scala val apiHash: HashAPI.Hash = HashAPI(classApi) val nameHashes = (new xsbt.api.NameHashing(options.useOptimizedSealed())).nameHashes(classApi) classApi.definitionType match { case d @ (DefinitionType.ClassDef | DefinitionType.Trait) => val extraApiHash = { if (d != DefinitionType.Trait) apiHash...

performance

In projects with long classpaths, I've seen this show up in profiles, as called by `memberRef` => `binaryDependency` => `externalDependency` => `getExternalApi`. https://github.com/sbt/zinc/blob/b125d8295cea2c0afc3c3686c1853edf93c4c934/zinc/src/main/scala/sbt/internal/inc/LookupImpl.scala#L43 Could we maintain an index of the...

performance
uncategorized

Steps to reproduce in: https://github.com/retronym/zinc-test ``` $ git checkout 2d6edfb && sbt clean compile && git checkout 90072a9 && sbt compile c/console Previous HEAD position was 90072a9 Rename private trait...

bug
area/under_compilation

``` [error] An exception has been thrown while trying to dump an api diff. [error] scala.MatchError: TraitPrivateMembersModified(a.A) (of class sbt.internal.inc.TraitPrivateMembersModified) [error] at sbt.internal.inc.IncrementalCommon.$anonfun$logApiChanges$1(IncrementalCommon.scala:156) [error] at sbt.internal.inc.IncrementalCommon.$anonfun$logApiChanges$1$adapted(IncrementalCommon.scala:156) [error] at scala.collection.immutable.Set$Set1.foreach(Set.scala:95) [error]...

bug

Subclassing `Global` should be a method of last resort when customizing `scalac`, as two such customizations are unable to compose. Could `zinc` be refactored into a compiler plugin? ## Phase...

discussion
uncategorized

## Reproduction steps ```scala object repro { trait ScenarioParam { type Builder null) ^ test/files/pos/stabilizer-cyclic.scala:43: error: cyclic aliasing or subtyping involving type Builder stabilizer.m1(x => null) ^ test/files/pos/stabilizer-cyclic.scala:46: error: cyclic...

regression
Lightbend support

The current optimization is unsound: ``` scala> def foo[T : reflect.ClassTag](t: T) = Array.apply[T](t); foo[String]("") def foo[T](t: T)(implicit evidence$1: scala.reflect.ClassTag[T]): Array[T] val res13: Array[String] = Array("") scala> def foo[T

performance
library:collections
Lightbend support