Solved

appletviewer JIT?

Posted on 1998-02-23
4
364 Views
Last Modified: 2006-11-17
Does appletviewer support the Just In Time Compiler? If yes, do you still invoke a full immediate compile in the same manner as  a JIT capable browser?
0
Comment
Question by:kevinhol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:kaleemaziz
ID: 1233209
Instead of answering your question here (since you seem to have heard things about JIT), I'd like you to refer Java Unleashed book in the ending chapters. You'll find it faster by searching in the index for 'just-in-time' compilers. If you cannot afford buying or refering Java Unleashed book, you can go through it on-line at http://www.developer.com. A link 'REFERENCE' will take you to 'more than 100 books on-line ...' link. Click here and you'll see several topics, including Java. Click on Java and lo, there you have Java Unleashed text book ready on-line! You can find several books here that will be helpful to you in your career.
Regards.
                                                 Kaleem Aziz.
0
 

Author Comment

by:kevinhol
ID: 1233210
I don't know what the exact definition of an answer here is at Experts Exchange, but I'm pretty sure this doesn't qualify. However, if I was in need of a generic reference to an answer for all my Java inquireries, this copy/paste one would take the cake.
0
 
LVL 1

Accepted Solution

by:
ashishagarwal earned 70 total points
ID: 1233211
Yes, Applet viewer uses the JIT compiler whci comes with Java performance pack. The ways to invoke it are :

you must set the JAVA_COMPILER
environment variable to the value "symcjit". Use the following command
from the DOS prompt:

      set JAVA_COMPILER=symcjit

When the JAVA_COMPILER environment variable is set, the JIT compiler
will be the default compiler invoked by the command-line tools.

An alternative way of invoking the JIT compiler is to set the value of
the java.compiler property to "symcjit". With the javac and
appletviewer tools, you can do this as follows:

      appletviewer -J-Djava.compiler=symcjit MyApplet.html
      javac -J-Djava.compiler=symcjit MyApp.java


0
 

Author Comment

by:kevinhol
ID: 1233212
Thanks I think this answered my question.  However I was under the impression that I could invoke an immediate Just In Time compile from within the source code. If you can quickly answer that one, could you please e-mail at kevinh@natech.com since this Q/A will be close.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 111
JAVA API design with micro service cloud in mind 1 113
import as existing maven project 3 78
Overriding a method 3 13
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question