Mercurial > hg > graal-compiler
comparison agent/src/share/classes/sun/jvm/hotspot/compiler/CompileTask.java @ 6972:bd7a7ce2e264
6830717: replay of compilations would help with debugging
Summary: When java process crashed in compiler thread, repeat the compilation process will help finding root cause. This is done with using SA dump application class data and replay data from core dump, then use debug version of jvm to recompile the problematic java method.
Reviewed-by: kvn, twisti, sspitsyn
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Mon, 12 Nov 2012 14:03:53 -0800 |
parents | da91efe96a93 |
children | 7b23cb975cf2 |
comparison
equal
deleted
inserted
replaced
6965:3be318ecfae5 | 6972:bd7a7ce2e264 |
---|---|
54 public CompileTask(Address addr) { | 54 public CompileTask(Address addr) { |
55 super(addr); | 55 super(addr); |
56 } | 56 } |
57 | 57 |
58 public Method method() { | 58 public Method method() { |
59 Address oh = methodField.getValue(getAddress()).getAddressAt(0); | 59 Address oh = methodField.getValue(getAddress()); |
60 return (Method)Metadata.instantiateWrapperFor(oh); | 60 return (Method)Metadata.instantiateWrapperFor(oh); |
61 } | 61 } |
62 | 62 |
63 public int osrBci() { | 63 public int osrBci() { |
64 return (int)osrBciField.getValue(getAddress()); | 64 return (int)osrBciField.getValue(getAddress()); |