-Xint: template or c++ interpreter?

Francis ANDRE francis.andre.kampbell at orange.fr
Sun Oct 27 07:56:25 PDT 2013


Bob

I would like to distinguished at run time the kind of interpreter used. Would 
something like that be acceptable or is there another way to publish it? (may be 
the wording is bad, but that's an idea).

const char* Abstract_VM_Version::vm_info_string() {
   switch (Arguments::mode()) {
     case Arguments::_int:
#ifdef CC_INTERP
       return UseSharedSpaces ? "code base interpreted mode, sharing" : "code 
base interpreted mode";
#else
       return UseSharedSpaces ? "template interpreted mode, sharing" : "template 
interpreted mode";
#endif // CC_INTERP
     case Arguments::_mixed:
       return UseSharedSpaces ? "mixed mode, sharing"       : "mixed mode";
     case Arguments::_comp:
       return UseSharedSpaces ? "compiled mode, sharing"    : "compiled mode";
   };

Francis

Le 26/10/2013 23:27, Bob Vandette a écrit :
> Compiling Hotspot with CC_INTERP does exclude the template interpreter.
> You either build a template Interpreter or C++ Interpreter.
>
> Bob.
>
> On Oct 26, 2013, at 4:19 PM, Francis ANDRE <francis.andre.kampbell at orange.fr> wrote:
>
>> Hi
>>
>> The -Xint option specifies to the JVM to run only in interpreted mode, but since compiling the JVM with CC_INTERP do not exclude the template Interpreter, I am wondering if there is an option to specify that only the template Interpreter or only the C++ Interpreter be used?
>>
>> Francis
>



More information about the hotspot-dev mailing list