Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31797

Re: How to programatically limit the number of threads in a java

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: How to programatically limit the number of threads in a java
Date Mon, 15 Jun 2015 08:23:41 +0200
Lines 18
Message-ID <cu79beFamlhU1@mid.individual.net> (permalink)
References <d2e186ee-1bab-4737-9462-9031b6e2839e@googlegroups.com> <mitjo5$dn$1@gwaiyur.mb-net.net> <3yws2b8pk2kq.198es8aoaybyr.dlg@40tude.net> <556faf0a$0$292$14726298@news.sunsite.dk> <mllgve$6g9$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net YrgjJ8aBYQ8/Upa2783rTQo/AETuYoFc1LvafOSGt3H3nEKY0=
Cancel-Lock sha1:JRuO/QMH3E3jDSgtUV39ctMK2Hk=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
In-Reply-To <mllgve$6g9$1@dont-email.me>
Xref csiph.com comp.lang.java.programmer:31797

Show key headers only | View raw


On 15.06.2015 05:33, e wrote:
> In article <556faf0a$0$292$14726298@news.sunsite.dk>, =?windows-1252?Q?Arne_Vajh=F8j?= <arne@vajhoej.dk> wrote:

>> I think that even the number of GC threads can be manipulated via
>> XX options (like -XX:ParallelGCThreads=n).

> A ThreadPoolExecutor is a good thing to use for this.

No.  GC threads are controlled differently as Arne has shown.

Cheers

	robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to programatically limit the number of threads in a java Ajay Paul <ajaykpaul@gmail.com> - 2015-05-12 08:49 -0700
  Re: How to programatically limit the number of threads in a java Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-05-12 12:01 -0400
  Re: How to programatically limit the number of threads in a java Marcel Mueller <news.5.maazl@spamgourmet.org> - 2015-05-12 21:19 +0200
    Re: How to programatically limit the number of threads in a java Joerg Meier <joergmmeier@arcor.de> - 2015-05-13 09:48 +0200
      Re: How to programatically limit the number of threads in a java Arne Vajhøj <arne@vajhoej.dk> - 2015-06-03 21:51 -0400
        Re: How to programatically limit the number of threads in a java dolnotmail@nomail.com (e) - 2015-06-15 03:33 +0000
          Re: How to programatically limit the number of threads in a java Robert Klemme <shortcutter@googlemail.com> - 2015-06-15 08:23 +0200
    Re: How to programatically limit the number of threads in a java Arne Vajhøj <arne@vajhoej.dk> - 2015-06-03 21:50 -0400

csiph-web