comparison src/share/vm/runtime/sharedRuntime.cpp @ 4840:0a10d80352d5

Merge
author brutisso
date Fri, 27 Jan 2012 09:04:57 +0100
parents 15d394228cfa
children aa3d708d67c4
comparison
equal deleted inserted replaced
4839:b4ebad3520bb 4840:0a10d80352d5
119 119
120 //----------------------------generate_ricochet_blob--------------------------- 120 //----------------------------generate_ricochet_blob---------------------------
121 void SharedRuntime::generate_ricochet_blob() { 121 void SharedRuntime::generate_ricochet_blob() {
122 if (!EnableInvokeDynamic) return; // leave it as a null 122 if (!EnableInvokeDynamic) return; // leave it as a null
123 123
124 #ifndef TARGET_ARCH_NYI_6939861
125 // allocate space for the code 124 // allocate space for the code
126 ResourceMark rm; 125 ResourceMark rm;
127 // setup code generation tools 126 // setup code generation tools
128 CodeBuffer buffer("ricochet_blob", 256 LP64_ONLY(+ 256), 256); // XXX x86 LP64L: 512, 512 127 CodeBuffer buffer("ricochet_blob", 256 LP64_ONLY(+ 256), 256); // XXX x86 LP64L: 512, 512
129 MacroAssembler* masm = new MacroAssembler(&buffer); 128 MacroAssembler* masm = new MacroAssembler(&buffer);
140 assert(false, "bad ricochet blob"); 139 assert(false, "bad ricochet blob");
141 return; 140 return;
142 } 141 }
143 142
144 _ricochet_blob = RicochetBlob::create(&buffer, bounce_offset, exception_offset, frame_size_in_words); 143 _ricochet_blob = RicochetBlob::create(&buffer, bounce_offset, exception_offset, frame_size_in_words);
145 #endif
146 } 144 }
147 145
148 146
149 #include <math.h> 147 #include <math.h>
150 148