Setting the priority a WebStart app

A

Alistair Atkinson

Hi,

Does anybody know a way, or indeed if it is possible, to set the priority
level of a WebStart application? Or, of the JVM launched to run the
application?

I have developed a distributed system which has small WebStart apps running
on a reasonably large number of workstations. I would like the JVM running
these apps to be running at a lower priority to that when a user needs to
use a computer they don't notice a serious performance loos as a result of
the WebStart app.

Regards,
Alistair
 
A

Alistair Atkinson

Alistair said:
Hi,

Does anybody know a way, or indeed if it is possible, to set the priority
level of a WebStart application? Or, of the JVM launched to run the
application?

I have developed a distributed system which has small WebStart apps
running on a reasonably large number of workstations. I would like the JVM
running these apps to be running at a lower priority to that when a user
needs to use a computer they don't notice a serious performance loss as a
result of the WebStart app.

Regards,
Alistair

OK I gather nobody has any information on this topic :)

So, more generally, can anybody offer any advice on ways to make Java
applications less intrusive in terms of performance? I am aware of some
mechanisms using JNI, however I want to preserve platform neutrality as
much as possible.

Any help much appreciated.

Alistair
 
D

Dale King

Alistair Atkinson said:
OK I gather nobody has any information on this topic :)

So, more generally, can anybody offer any advice on ways to make Java
applications less intrusive in terms of performance? I am aware of some
mechanisms using JNI, however I want to preserve platform neutrality as
much as possible.

Any help much appreciated.


I don't see what your issue is. While you may not be able to control the
priority of the thread which invokes the main method you have control over
the priority of any threads you create.
 
R

Roedy Green

I don't see what your issue is. While you may not be able to control the
priority of the thread which invokes the main method you have control over
the priority of any threads you create.
--

How about Thread.currentThread().setPriority
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top