1 /* |
1 /* |
2 * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
55 virtualConstructor = new VirtualConstructor(db); |
55 virtualConstructor = new VirtualConstructor(db); |
56 // Add mappings for all possible CodeBlob subclasses |
56 // Add mappings for all possible CodeBlob subclasses |
57 virtualConstructor.addMapping("BufferBlob", BufferBlob.class); |
57 virtualConstructor.addMapping("BufferBlob", BufferBlob.class); |
58 virtualConstructor.addMapping("nmethod", NMethod.class); |
58 virtualConstructor.addMapping("nmethod", NMethod.class); |
59 virtualConstructor.addMapping("RuntimeStub", RuntimeStub.class); |
59 virtualConstructor.addMapping("RuntimeStub", RuntimeStub.class); |
|
60 virtualConstructor.addMapping("RicochetBlob", RicochetBlob.class); |
|
61 virtualConstructor.addMapping("AdapterBlob", AdapterBlob.class); |
60 virtualConstructor.addMapping("SafepointBlob", SafepointBlob.class); |
62 virtualConstructor.addMapping("SafepointBlob", SafepointBlob.class); |
61 virtualConstructor.addMapping("DeoptimizationBlob", DeoptimizationBlob.class); |
63 virtualConstructor.addMapping("DeoptimizationBlob", DeoptimizationBlob.class); |
62 if (VM.getVM().isServerCompiler()) { |
64 if (VM.getVM().isServerCompiler()) { |
63 virtualConstructor.addMapping("ExceptionBlob", ExceptionBlob.class); |
65 virtualConstructor.addMapping("ExceptionBlob", ExceptionBlob.class); |
64 virtualConstructor.addMapping("UncommonTrapBlob", UncommonTrapBlob.class); |
66 virtualConstructor.addMapping("UncommonTrapBlob", UncommonTrapBlob.class); |