aboutsummaryrefslogtreecommitdiff
path: root/nailgun_launcher
Commit message (Collapse)AuthorAgeFilesLines
...
* Properly cache classloader for stage2 and make CbtDependency work correctly.Christopher Vogt2016-04-021-0/+3
| | | | This fixes the issues with crashes loading stage2 introduces in 57de43907e05d4cd3986e2994e0e3bff93e09b4e. Also should be faster when using nailgun.
* Add build file to build CBT with itself. Needed to be able to consume CBT as ↵Christopher Vogt2016-04-021-1/+1
| | | | a library.
* Typed passing of values from Stage1 to Stage2Christopher Vogt2016-03-301-4/+6
| | | | (thing can still be cleaned up)
* Early classloading improvementsChristopher Vogt2016-03-286-141/+252
| | | | | | | | | - Changed launcher to already load zinc - use code generation to generate necessary dependencies - changed resolver to linearize dependency DAG in a way that guarantees that every transitive dependee of a node in the DAG is a transitive dependee of that node in the linear sequence - move exit code trapping code into java so it can be used for zinc early There seems to be a bug in this version, where CBT crashes about half of the time with a "object is not an instance of declaring class" Exception during running the task from the build object via reflection.
* merged most bootstrapping logic into launcherChristopher Vogt2016-03-203-37/+185
|
* better toString for Java URLClassLoader. Minor enhancementsChristopher Vogt2016-03-201-7/+18
|
* better handle classloaders for watchservice and reflect. even more speedup.Christopher Vogt2016-03-201-5/+6
|
* More speedup by already caching some classloaders in NailgunLauncher. Also ↵Christopher Vogt2016-03-191-25/+59
| | | | fix a few warnings.
* replace two level classloader with hierarchyChristopher Vogt2016-03-191-4/+7
| | | | | | replace two level classloader (one for non-cachable dependencies with a cached parent one for cachable ones) with a hierachy of classloaders corresponding this should eventually allow re-using CBT's classloader between stage1 and stage2 this change breaks the ScalaTest support for now
* Refactored ClassLoaderCache to use key locked cache to pave the way for ↵Christopher Vogt2016-03-191-2/+2
| | | | caching classloaders hierarchically without deadlocks
* Always reset security manager to what it was during startup. Should be less ↵Christopher Vogt2016-03-121-0/+2
| | | | fragile with regards to concurrency and user code setting security managers.
* cleanup: whitespace changes, separated more things into their own files, use ↵Christopher Vogt2016-03-071-8/+8
| | | | ++ for strings everywhere. Added ++ method to File and URL and use it in many places
* fix ArrayIndexOutOfBoundsException cause by an off by twoChristopher Vogt2016-03-061-4/+8
|
* cleanup NailgunLauncher script, make CBT recompilation more fine-grained for ↵Christopher Vogt2016-03-061-26/+15
| | | | speed and easier transfer of part of it into java. Also enable looping to recompile NailgunLauncher and stage1
* nailgun cleanupRob Norris2016-03-051-37/+50
|
* CBT Version 1.0-BETAChristopher Vogt2016-03-041-0/+48