Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalEnv.cpp @ 9668:fe9a18fbb15e
added subclasses for HotSpotInstalledCode: HotSpotNmethod and HotSpotRuntimeStub
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 13 May 2013 18:19:43 +0200 |
parents | 700f6a63763a |
children | 36bcc10e01c0 |
comparison
equal
deleted
inserted
replaced
9667:1ef7b26e9177 | 9668:fe9a18fbb15e |
---|---|
524 | 524 |
525 // Record successful registration. | 525 // Record successful registration. |
526 // (Put nm into the task handle *before* publishing to the Java heap.) | 526 // (Put nm into the task handle *before* publishing to the Java heap.) |
527 if (task != NULL) task->set_code(nm); | 527 if (task != NULL) task->set_code(nm); |
528 | 528 |
529 if (HotSpotInstalledCode::isDefault(installed_code())) { | 529 if (HotSpotNmethod::isDefault(installed_code())) { |
530 if (entry_bci == InvocationEntryBci) { | 530 if (entry_bci == InvocationEntryBci) { |
531 if (TieredCompilation) { | 531 if (TieredCompilation) { |
532 // If there is an old version we're done with it | 532 // If there is an old version we're done with it |
533 nmethod* old = method->code(); | 533 nmethod* old = method->code(); |
534 if (TraceMethodReplacement && old != NULL) { | 534 if (TraceMethodReplacement && old != NULL) { |