Do threads created in Java behave differently on Windows and Linux?

前端 未结 3 1504
心在旅途
心在旅途 2021-01-17 09:13

As what I know, Java is using operating system threads (in contrast to i.e. Erlang), that means that the threads created with Java on Windows and Linux may behave different.

3条回答
  •  情书的邮戳
    2021-01-17 09:52

    JVM hide all OS differences to you...

    as was previously answered the threads on windows are big heavyweight that linux ones.

    by experience a heavy multi threading application could have some delays with automatic memory garbage collector and those can generate huge memory peaks.

提交回复
热议问题