Class Sandbox
java.lang.Object
org.adoptopenjdk.jitwatch.sandbox.Sandbox
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LanguageManagerprivate IExternalProcessprivate static final com.chrisnewland.freelogj.Loggerprivate ILogListenerprivate ILogParserstatic final Pathstatic final Pathstatic final Pathstatic final Pathprivate static final Stringstatic final Pathprivate Fileprivate ISandboxStage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildUniqueClasspath(JITWatchConfig config) private static voidprivate booleanexecuteClass(String fqClassName, IRuntime runtime, boolean intelMode) private IMetaMembergetMemberForClass(String openClassInTriView, IReadOnlyJITDataModel model) private static voidvoidreset()private voidvoidrunSandbox(String language, List<File> compileList, File fileToRun) private voidshowTriView(String language, String openClassInTriView)
-
Field Details
-
logger
private static final com.chrisnewland.freelogj.Logger logger -
logListener
-
sandboxStage
-
SANDBOX_DIR
-
SANDBOX_SOURCE_DIR
-
SANDBOX_CLASS_DIR
-
PATH_STD_ERR
-
PATH_STD_OUT
-
SANDBOX_LOGFILE
- See Also:
-
sandboxLogFile
-
logParser
-
languageManager
-
lastProcess
-
-
Constructor Details
-
Sandbox
-
-
Method Details
-
initialise
private static void initialise() -
reset
public void reset() -
copyExamples
private static void copyExamples() -
runSandbox
- Throws:
Exception
-
getLastProcess
-
buildUniqueClasspath
-
executeClass
private boolean executeClass(String fqClassName, IRuntime runtime, boolean intelMode) throws Exception - Throws:
Exception
-
runJITWatch
- Throws:
IOException
-
showTriView
-
getMemberForClass
-