Kbase 35164: How to disable JIT
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/08/2000 |
|
Solution ID: P5164
GOAL:
How to disable JIT
FIX:
- In Windows:
The JIT compiler can be disabled by changing the Registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1x\JAVA
and
HKEY_CURRENT_USER\Software\PSC\PROGRESS\9.1x\JAVA:
1) Edit the JVMARGS key (JVMARGS -ms1m) to add the -nojit parameter:
JVMARGS -ms1m -nojit
2) Find the $DLC\bin\ubutil.bat and change the last line to:
"%JVMSTRT%" -o stderr -s -m silent "%JVM%" -nojit -classpath "%JCP%"
-DInstall.Dir="%DLC%" -DWork.Dir="%WRK%" %UBUTILPKG%.%UBUTILCLASS%
%PARMS%
3) Make the same change to the ubconfig.bat.
(Notice the newly added -nojit parameter.)
- On Unix:
Disable the JIT compiler by setting the environment variable JAVA_COMPILER to an empty value, insert:
JAVA_COMPILER= ;export JAVA_COMPILER
into $DLC/bin/java_env , to disable the JIT. The $DLC/bin/java_env is called from proadsv, asbman, wtbman ..... java using scripts.