diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2014-02-07 16:40:44 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-10 17:20:48 +0100 |
commit | 894aee1347600201dd2decbd07bcf7820cbbee3d (patch) | |
tree | 22ba01dd5b4c319cc04899dac873f8664a28fa18 /src/compiler | |
parent | ea36cada85e77b7dde85db62ddb4a6da88f76eb4 (diff) | |
download | scala-894aee1347600201dd2decbd07bcf7820cbbee3d.tar.gz scala-894aee1347600201dd2decbd07bcf7820cbbee3d.tar.bz2 scala-894aee1347600201dd2decbd07bcf7820cbbee3d.zip |
Start the PC thread only after initialization of required symbols.
If the class path is incomplete, the presentation compiler might crash during construction.
If the PC thread was already started, it will never get the chance to shutdown, and the
thread leaks. In the IDE, where the PC is started when needed, this can lead to a very
quick depletion of JVM threads.
See Scala IDE #1002016.
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions