shark: Assertion in include/llvm/CodeGen/MachineOperand.h:251
aph at redhat.com
Tue Jan 27 08:37:53 PST 2009
Robert Schuster wrote:
> Gary Benson schrieb:
>> Robert Schuster wrote:
>>> The interesting point is, that this problem always happens when you
>>> run 'java' - whether you are pointing to a Java program or just want
>>> to see -version.
>> The java program always executes a certain amount of Java code, even
>> if you run it with no arguments. Try java -XX:+PrintCompilation and
>> you'll see what I mean.
> I see:
> ./java -XX:+PrintCompilation
> 1 java.lang.String::equals (88 bytes)
> int64_t llvm::MachineOperand::getImm() const: Assertion `isImm() &&
> "Wrong MachineOperand accessor"' failed.
> If I run
> java -XX:+PrintCompilation HelloWorld
> 1 java.lang.String::hashCode (60 bytes)
> Hello World!
> [crash message like above]
> Since there is only one method being compiled before the crash happens I
> assume that the JIT is not working at all. :(
> I furthermore do not experience the crash when running with -Xint ..
> Are there more options like -XX:+PrintCompilation (can't find it
> documented)? Is it possible to tell hotspot that only a specific method
> should be JIT compiled?
More information about the distro-pkg-dev