Changes between Version 7 and Version 8 of Doc/compiler/problems


Ignore:
Timestamp:
May 12, 2007, 12:14:03 PM (18 years ago)
Author:
/C=BE/O=BEGRID/OU=VUB/OU=IIHE/CN=Stijn De Weirdt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/compiler/problems

    v7 v8  
    2626The java-implementation of the pan language compiler is completely multi-threaded.  Internally, it controls several thread pools to handle compilation, execution, and serialization in parallel.  At the end of a compilation, the compiler will normally destroy the thread pools that were created.  The java security model requires that a program have the "modifyThread" permission to destroy threads.  In some environments (notably eclipse), this permission may not be given to the compiler.  If this is the case, then the message "WARNING: missing modifyThread permission" is printed on the standard error.  Lacking this permission causes a "thread leak", but the effects are minor unless an extremely large number of templates are being compiled.  If this is the case, then you should either change the configuration to grant this permission to the compiler, or work in an environment that grants it by default (e.g. using ant from the command line).
    2727
     28A possible fix can be using Java6. (See on how to configure eclipse with multiple JREs).
     29