Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/init.cpp @ 4872:aa3d708d67c4
7141200: log some interesting information in ring buffers for crashes
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
author | never |
---|---|
date | Wed, 01 Feb 2012 07:59:01 -0800 |
parents | 4f25538b54c9 |
children | e9140bf80b4a |
comparison
equal
deleted
inserted
replaced
4871:f067b4e0e04b | 4872:aa3d708d67c4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2012, 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. |
63 | 63 |
64 void vtableStubs_init(); | 64 void vtableStubs_init(); |
65 void InlineCacheBuffer_init(); | 65 void InlineCacheBuffer_init(); |
66 void compilerOracle_init(); | 66 void compilerOracle_init(); |
67 void compilationPolicy_init(); | 67 void compilationPolicy_init(); |
68 | 68 void compileBroker_init(); |
69 | 69 |
70 // Initialization after compiler initialization | 70 // Initialization after compiler initialization |
71 bool universe_post_init(); // must happen after compiler_init | 71 bool universe_post_init(); // must happen after compiler_init |
72 void javaClasses_init(); // must happen after vtable initialization | 72 void javaClasses_init(); // must happen after vtable initialization |
73 void stubRoutines_init2(); // note: StubRoutines need 2-phase init | 73 void stubRoutines_init2(); // note: StubRoutines need 2-phase init |
118 | 118 |
119 vtableStubs_init(); | 119 vtableStubs_init(); |
120 InlineCacheBuffer_init(); | 120 InlineCacheBuffer_init(); |
121 compilerOracle_init(); | 121 compilerOracle_init(); |
122 compilationPolicy_init(); | 122 compilationPolicy_init(); |
123 compileBroker_init(); | |
123 VMRegImpl::set_regName(); | 124 VMRegImpl::set_regName(); |
124 | 125 |
125 if (!universe_post_init()) { | 126 if (!universe_post_init()) { |
126 return JNI_ERR; | 127 return JNI_ERR; |
127 } | 128 } |