mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6667042: PrintAssembly option does not work without special plugin
Remove old private plugin interface, simplify, rework old plugin to use unchanged Gnu sources Reviewed-by: kvn, rasbold
This commit is contained in:
parent
0530e0d854
commit
0d27a8639f
43 changed files with 1675 additions and 629 deletions
|
@ -69,7 +69,6 @@ StubCodeGenerator::StubCodeGenerator(CodeBuffer* code) {
|
|||
_first_stub = _last_stub = NULL;
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
extern "C" {
|
||||
static int compare_cdesc(const void* void_a, const void* void_b) {
|
||||
int ai = (*((StubCodeDesc**) void_a))->index();
|
||||
|
@ -77,10 +76,8 @@ extern "C" {
|
|||
return ai - bi;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
StubCodeGenerator::~StubCodeGenerator() {
|
||||
#ifndef PRODUCT
|
||||
if (PrintStubCode) {
|
||||
CodeBuffer* cbuf = _masm->code();
|
||||
CodeBlob* blob = CodeCache::find_blob_unsafe(cbuf->insts()->start());
|
||||
|
@ -105,7 +102,6 @@ StubCodeGenerator::~StubCodeGenerator() {
|
|||
tty->cr();
|
||||
}
|
||||
}
|
||||
#endif //PRODUCT
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue