Lines Matching refs:cb

70 unsigned int CodeBlob::allocation_size(CodeBuffer* cb, int header_size) {
72 size += round_to(cb->total_relocation_size(), oopSize);
75 size += round_to(cb->total_content_size(), oopSize);
76 size += round_to(cb->total_oop_size(), oopSize);
112 CodeBuffer* cb,
126 _relocation_size = round_to(cb->total_relocation_size(), oopSize);
128 _code_offset = _content_offset + cb->total_offset_of(cb->insts());
129 _data_offset = _content_offset + round_to(cb->total_content_size(), oopSize);
132 cb->copy_code_and_locs_to(this);
226 BufferBlob::BufferBlob(const char* name, int size, CodeBuffer* cb)
227 : CodeBlob(name, cb, sizeof(BufferBlob), size, CodeOffsets::frame_never_safe, 0, NULL)
230 BufferBlob* BufferBlob::create(const char* name, CodeBuffer* cb) {
234 unsigned int size = allocation_size(cb, sizeof(BufferBlob));
238 blob = new (size) BufferBlob(name, size, cb);
267 AdapterBlob::AdapterBlob(int size, CodeBuffer* cb) :
268 BufferBlob("I2C/C2I adapters", size, cb) {
272 AdapterBlob* AdapterBlob::create(CodeBuffer* cb) {
276 unsigned int size = allocation_size(cb, sizeof(AdapterBlob));
279 blob = new (size) AdapterBlob(size, cb);
315 CodeBuffer* cb,
322 : CodeBlob(name, cb, sizeof(RuntimeStub), size, frame_complete, frame_size, oop_maps)
329 CodeBuffer* cb,
339 unsigned int size = allocation_size(cb, sizeof(RuntimeStub));
340 stub = new (size) RuntimeStub(stub_name, cb, size, frame_complete, frame_size, oop_maps, caller_must_gc_arguments);
367 CodeBuffer* cb,
375 : SingletonBlob("DeoptimizationBlob", cb, sizeof(DeoptimizationBlob), size, frame_size, oop_maps)
387 CodeBuffer* cb,
398 unsigned int size = allocation_size(cb, sizeof(DeoptimizationBlob));
399 blob = new (size) DeoptimizationBlob(cb,
419 CodeBuffer* cb,
424 : SingletonBlob("UncommonTrapBlob", cb, sizeof(UncommonTrapBlob), size, frame_size, oop_maps)
429 CodeBuffer* cb,
437 unsigned int size = allocation_size(cb, sizeof(UncommonTrapBlob));
438 blob = new (size) UncommonTrapBlob(cb, size, oop_maps, frame_size);
455 CodeBuffer* cb,
460 : SingletonBlob("ExceptionBlob", cb, sizeof(ExceptionBlob), size, frame_size, oop_maps)
465 CodeBuffer* cb,
473 unsigned int size = allocation_size(cb, sizeof(ExceptionBlob));
474 blob = new (size) ExceptionBlob(cb, size, oop_maps, frame_size);
490 CodeBuffer* cb,
495 : SingletonBlob("SafepointBlob", cb, sizeof(SafepointBlob), size, frame_size, oop_maps)
500 CodeBuffer* cb,
508 unsigned int size = allocation_size(cb, sizeof(SafepointBlob));
509 blob = new (size) SafepointBlob(cb, size, oop_maps, frame_size);