This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcj] Priority setting


On 10/19/07, Andrew Haley <aph-gcc@littlepinkcloud.com> wrote:
> NightStrike writes:
>  > Does gcj support setting priorities for threads in a java process?
>
> Yes, it does.  It passes the priority down to the underlying thread system.

What is the underlying thread system?  Does it incorporate pthreads,
or some other thing?

>  > Also, is garbage collection preemptible?
>
> You'll have to explain what you mean by that.

In a Sun virtual machine environment, garbage collection can run at
any arbitrary time, and there is nothing that the application can do
to prevent this.  In the case of timing-critical applications, the
user is at a loss, and thus there can be no determinism in that
environment.  I am looking to see how well gcj can perform as an
avenue for real time deterministic java applications.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]