Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39580
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Threads [Was: Get real, user and system time] |
| Date | Tue, 21 Jul 2020 08:42:32 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 24 |
| Message-ID | <rf6nrs$42m$1@dont-email.me> (permalink) |
| References | <87o8oc99wk.fsf@munus.decebal.nl> <rf5a0m$q3a$1@dont-email.me> <rf6kur$apm$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Tue, 21 Jul 2020 12:42:36 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="f8bc8be730ece39468a14651662abcad"; logging-data="4182"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Z+ZB7rE7O7KtOwLB8OMcU" |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
| Cancel-Lock | sha1:3rakeoUD7X+9GzxKqrjzctYXOI0= |
| In-Reply-To | <rf6kur$apm$1@dont-email.me> |
| Content-Language | en-US |
| Xref | csiph.com comp.lang.java.programmer:39580 |
Show key headers only | View raw
Topic drift ...
On 7/21/2020 7:52 AM, Martin Gregorie wrote:
> [...] Under UNIX/
> Linux the JVM is a multi-threaded process with a single thread handling
> user program execution: IIRC it spawns threads to handle garbage
> collection and Swing/awt but nothing external to the JVM process will see
> either these or any user-defined threads that your program may execute.
This sounds like the "green threads" model used in Old-Time Original
Java of a quarter-century ago. Is Linux still stuck with that relic?
(IIRC there was a time when Linux sort of faked multi-threading by
running multiple processes, but I kind of thought "LinuxThreads" had
long since been replaced by "NPTL.")
Anyhow: If you're right, that would explain why nobody runs Java
on Linux multi-core servers ...
--
esosman@comcast-dot-net.invalid
Maskless Trump is a bare-faced liar.
One hundred eighty-three days to go.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Get real, user and system time Cecil Westerhof <Cecil@decebal.nl> - 2020-07-18 16:26 +0200
Re: Get real, user and system time Martin Gregorie <martin@mydomain.invalid> - 2020-07-18 20:59 +0000
Re: Get real, user and system time Luuk <luuk@invalid.lan> - 2020-07-20 08:06 +0200
Re: Get real, user and system time Martin Gregorie <martin@mydomain.invalid> - 2020-07-20 08:55 +0000
Re: Get real, user and system time Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-07-21 01:40 +0200
Re: Get real, user and system time Martin Gregorie <martin@mydomain.invalid> - 2020-07-21 11:52 +0000
Threads [Was: Get real, user and system time] Eric Sosman <esosman@comcast-dot-net.invalid> - 2020-07-21 08:42 -0400
Re: Threads [Was: Get real, user and system time] Martin Gregorie <martin@mydomain.invalid> - 2020-07-21 16:55 +0000
Re: Threads [Was: Get real, user and system time] Eric Sosman <esosman@comcast-dot-net.invalid> - 2020-07-21 15:46 -0400
Re: Threads [Was: Get real, user and system time] Martin Gregorie <martin@mydomain.invalid> - 2020-07-21 20:16 +0000
Re: Threads [Was: Get real, user and system time] Martin Gregorie <martin@mydomain.invalid> - 2020-07-21 23:14 +0000
Re: Get real, user and system time Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-07-22 00:23 +0200
csiph-web