Skip to main content
4 events
when toggle format what by license comment
Jun 9, 2016 at 1:18 vote accept Ali Kanaan
Jun 9, 2016 at 1:18
Jun 8, 2016 at 14:05 comment added Gray Unfortunately, it is not guaranteed @AliKanaan between different Java versions but different runs with the same JVM version up to main should fork the same number of system threads. I don't think there is variability there but I'm not 100% sure. Hence the hack. Best of luck.
Jun 8, 2016 at 13:59 comment added Ali Kanaan thanks gray for your response, I thought about what you suggested as a hack but faced a problem to think deeply about it , what if the number of processes needed to run the JVM and the main class may differ by 2 threads or even one between two different runs for two different codes ? ; however, what if this precise number of threads differs between the different versions ! :\ ??!! is it guaranteed that this number of threads will not change !
Jun 8, 2016 at 13:33 history answered Gray CC BY-SA 3.0