Skip to content
This repository was archived by the owner on Sep 21, 2019. It is now read-only.
This repository was archived by the owner on Sep 21, 2019. It is now read-only.

REST endpoint to release JarFile references #1322

@fommil

Description

@fommil

Another file handler bug in the scala-compiler, this time from ScalaClassLoader (the following on scala 2.10) might need another monkey patch // @retronym
#1318 is a potential workaround.

"Name","Retained Size","Shallow Size","Level"
"java.util.jar.JarFile name = ""D:\path\to\my\packageBin.jar""","792","64", "1"
"jar of sun.misc.URLClassPath$JarLoader","360","48", "2"
"[348] of java.lang.Object[549]","2216","2216", "3"
"elementData of java.util.ArrayList size = 432","2240","24", "4"
"loaders of sun.misc.URLClassPath","477176","40", "5"
"ucp of scala.tools.nsc.util.ScalaClassLoader$URLClassLoader","686248","88", "6"
"macroClassloader of scala.tools.nsc.Global$$anon$1","862176","328", "7"
"analyzer of org.ensime.core.RichPresentationCompiler [Stack Local]","317419832","1952", "8"
"compiler of scala.tools.nsc.interactive.PresentationCompilerThread [Thread, Stack Local ← this]  ""Scala Presentation Compiler []"" native ID: 0x8E0","1688","112", "9"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions