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

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 2015-06-15 08:23 +0200
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>

Show all headers | 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