I have noticed that when I use cruby to run a muli-threaded java program via Open3.capture3('java -jar multi-threaded.jar')
, most java threads are idle and the CPU is only busy on a single core. However, if I run the same javaprogram from bash, the CPU has near 100% utilization.
Does the cruby GIL have an effect on programs run by capture3
?