ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

Update Java FAQ please
Posted by Fyodor Menshikov 8 May 2009 02:16
Recently (2.2.2009) Java compiler was changed from jdk 5 to jdk 6.

Today I realized that jdk 6 has one very useful feature: main thread stack size is controlled by -Xss argument of command line. In jdk 5 only threads created by main one could have stack size up to specified in -Xss, but main thread stack size could not be increased.

In Java 5 this feature led to special template of program that use big stack (see for example http://acm.timus.ru/help.aspx?topic=java "Stack size" section).

In Java 6 with -Xss64M argument used on Timus any single thread program may use any amount of stack so no need in special template.

Admins, please update Java FAQ.
Java help updated
Posted by Vladimir Yakovlev (USU) 3 Jun 2009 02:20