Skip to content

Commit 0f5b1e8

Browse files
committed
Merge pull request scala#2413 from soc/SI-7391-2.9
[backport] SI-7391 Always use ForkJoin in Scala actors
2 parents fcd604a + 2b4b2b8 commit 0f5b1e8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/actors/scala/actors/scheduler/ThreadPoolConfig.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ private[actors] object ThreadPoolConfig {
4242
(propIsSetTo("actors.enableForkJoin", "true") || {
4343
Debug.info(this+": java.version = "+javaVersion)
4444
Debug.info(this+": java.vm.vendor = "+javaVmVendor)
45-
46-
// on IBM J9 1.6 do not use ForkJoinPool
47-
// XXX this all needs to go into Properties.
48-
isJavaAtLeast("1.6") && ((javaVmVendor contains "Oracle") || (javaVmVendor contains "Sun") || (javaVmVendor contains "Apple"))
45+
isJavaAtLeast("1.6")
4946
})
5047
catch {
5148
case _: SecurityException => false

0 commit comments

Comments
 (0)