これらの値は、プロジェクトのコンパイル時に考慮される構成値で構成されます。必要なファイルは、OPALのルートディレクトリにあります。
//
// Optional configuration settings specific to each developers machine.
//
// If your CPU uses hyperthreading, it is recommended to specify the
// number of physical cores and the number of hyperthreaded cores;
// this will spead up the overall execution.
javaOptions in ThisBuild ++= Seq(
"-Dorg.opalj.threads.CPUBoundTasks=16", // Number of physical (not hyperthreaded) cores/CPUs
"-Dorg.opalj.threads.IOBoundTasks=32" // Number of (hyperthreaded) cores * 1,5
)
// If you want to disable assertions, uncomment the following line.
// Assertions are heavily used throughout OPAL and have a
// signifcant performance impact. However, at development time it is
// HIGHLY recommend to turn on assertions!
//scalacOptions in ThisBuild += "-Xdisable-assertions"
//
//scalacOptions in ThisBuild -= "-Ywarn-unused-import"
//scalacOptions in ThisBuild -= "-Ywarn-unused"
あなたは、使用済みのコア数を設定したファイル名から.TEMPLATEを削除し、あなたのニーズに値を調整する場合は:あなたは次のように表示されますlocal.sbt.template
ファイルを開くと。その後、OPALを再構築する必要があります。
ありがとうございました。 –