Coverage Report

Created: 2017-04-15 07:07

/home/travis/build/MoarVM/MoarVM/src/gc/allocation.h
Line
Count
Source
1
void * MVM_gc_allocate_nursery(MVMThreadContext *tc, size_t size);
2
void * MVM_gc_allocate_zeroed(MVMThreadContext *tc, size_t size);
3
MVMSTable * MVM_gc_allocate_stable(MVMThreadContext *tc, const MVMREPROps *repr, MVMObject *how);
4
MVMObject * MVM_gc_allocate_type_object(MVMThreadContext *tc, MVMSTable *st);
5
MVMObject * MVM_gc_allocate_object(MVMThreadContext *tc, MVMSTable *st);
6
MVMFrame * MVM_gc_allocate_frame(MVMThreadContext *tc);
7
void MVM_gc_allocate_gen2_default_set(MVMThreadContext *tc);
8
void MVM_gc_allocate_gen2_default_clear(MVMThreadContext *tc);
9
10
15.5M
MVM_STATIC_INLINE void * MVM_gc_allocate(MVMThreadContext *tc, size_t size) {
11
15.5M
    return tc->allocate_in_gen2
12
3.63M
        ? MVM_gc_gen2_allocate_zeroed(tc->gen2, size)
13
11.9M
        : MVM_gc_allocate_nursery(tc, size);
14
15.5M
}
Unexecuted instantiation: NativeRef.c:MVM_gc_allocate
Unexecuted instantiation: CUnion.c:MVM_gc_allocate
Unexecuted instantiation: ReentrantMutex.c:MVM_gc_allocate
Unexecuted instantiation: ConditionVariable.c:MVM_gc_allocate
Unexecuted instantiation: Semaphore.c:MVM_gc_allocate
Unexecuted instantiation: ConcBlockingQueue.c:MVM_gc_allocate
Unexecuted instantiation: MVMAsyncTask.c:MVM_gc_allocate
Unexecuted instantiation: MVMNull.c:MVM_gc_allocate
Unexecuted instantiation: CPPStruct.c:MVM_gc_allocate
Unexecuted instantiation: CStruct.c:MVM_gc_allocate
Unexecuted instantiation: MultiDimArray.c:MVM_gc_allocate
Unexecuted instantiation: Decoder.c:MVM_gc_allocate
Unexecuted instantiation: 6model.c:MVM_gc_allocate
Unexecuted instantiation: bootstrap.c:MVM_gc_allocate
Unexecuted instantiation: sc.c:MVM_gc_allocate
Unexecuted instantiation: serialization.c:MVM_gc_allocate
Unexecuted instantiation: compiler.c:MVM_gc_allocate
Unexecuted instantiation: driver.c:MVM_gc_allocate
Unexecuted instantiation: MVMException.c:MVM_gc_allocate
Unexecuted instantiation: MVMThread.c:MVM_gc_allocate
Unexecuted instantiation: MVMIter.c:MVM_gc_allocate
Unexecuted instantiation: MVMContext.c:MVM_gc_allocate
Unexecuted instantiation: SCRef.c:MVM_gc_allocate
Unexecuted instantiation: Lexotic.c:MVM_gc_allocate
Unexecuted instantiation: MVMCallCapture.c:MVM_gc_allocate
Unexecuted instantiation: P6bigint.c:MVM_gc_allocate
Unexecuted instantiation: NFA.c:MVM_gc_allocate
Unexecuted instantiation: dump.c:MVM_gc_allocate
Unexecuted instantiation: MVMDLLSym.c:MVM_gc_allocate
Unexecuted instantiation: MVMMultiCache.c:MVM_gc_allocate
Unexecuted instantiation: MVMContinuation.c:MVM_gc_allocate
Unexecuted instantiation: NativeCall.c:MVM_gc_allocate
Unexecuted instantiation: CPointer.c:MVM_gc_allocate
Unexecuted instantiation: CStr.c:MVM_gc_allocate
Unexecuted instantiation: CArray.c:MVM_gc_allocate
Unexecuted instantiation: profile.c:MVM_gc_allocate
Unexecuted instantiation: nfg.c:MVM_gc_allocate
Unexecuted instantiation: unicode.c:MVM_gc_allocate
Unexecuted instantiation: normalize.c:MVM_gc_allocate
Unexecuted instantiation: latin1.c:MVM_gc_allocate
Unexecuted instantiation: utf16.c:MVM_gc_allocate
Unexecuted instantiation: windows1252.c:MVM_gc_allocate
Unexecuted instantiation: bigintops.c:MVM_gc_allocate
Unexecuted instantiation: instrument.c:MVM_gc_allocate
Unexecuted instantiation: utf8_c8.c:MVM_gc_allocate
Unexecuted instantiation: heapsnapshot.c:MVM_gc_allocate
Unexecuted instantiation: crossthreadwrite.c:MVM_gc_allocate
Unexecuted instantiation: line_coverage.c:MVM_gc_allocate
Unexecuted instantiation: moar.c:MVM_gc_allocate
Unexecuted instantiation: mmap.c:MVM_gc_allocate
Unexecuted instantiation: time.c:MVM_gc_allocate
Unexecuted instantiation: sys.c:MVM_gc_allocate
Unexecuted instantiation: emit_posix_x64.c:MVM_gc_allocate
Unexecuted instantiation: threshold.c:MVM_gc_allocate
Unexecuted instantiation: graph.c:MVM_gc_allocate
Unexecuted instantiation: codegen.c:MVM_gc_allocate
Unexecuted instantiation: candidate.c:MVM_gc_allocate
Unexecuted instantiation: manipulate.c:MVM_gc_allocate
Unexecuted instantiation: facts.c:MVM_gc_allocate
Unexecuted instantiation: optimize.c:MVM_gc_allocate
Unexecuted instantiation: deopt.c:MVM_gc_allocate
Unexecuted instantiation: log.c:MVM_gc_allocate
Unexecuted instantiation: HashAttrStore.c:MVM_gc_allocate
Unexecuted instantiation: inline.c:MVM_gc_allocate
Unexecuted instantiation: osr.c:MVM_gc_allocate
Unexecuted instantiation: lookup.c:MVM_gc_allocate
Unexecuted instantiation: compile.c:MVM_gc_allocate
Unexecuted instantiation: decode_stream.c:MVM_gc_allocate
Unexecuted instantiation: ascii.c:MVM_gc_allocate
Unexecuted instantiation: utf8.c:MVM_gc_allocate
Unexecuted instantiation: orchestrate.c:MVM_gc_allocate
Unexecuted instantiation: ext.c:MVM_gc_allocate
Unexecuted instantiation: nativecall.c:MVM_gc_allocate
Unexecuted instantiation: nativecall_dyncall.c:MVM_gc_allocate
Unexecuted instantiation: continuation.c:MVM_gc_allocate
Unexecuted instantiation: intcache.c:MVM_gc_allocate
Unexecuted instantiation: fixedsizealloc.c:MVM_gc_allocate
Unexecuted instantiation: regionalloc.c:MVM_gc_allocate
Unexecuted instantiation: config.c:MVM_gc_allocate
Unexecuted instantiation: dll.c:MVM_gc_allocate
allocation.c:MVM_gc_allocate
Line
Count
Source
10
15.5M
MVM_STATIC_INLINE void * MVM_gc_allocate(MVMThreadContext *tc, size_t size) {
11
15.5M
    return tc->allocate_in_gen2
12
3.63M
        ? MVM_gc_gen2_allocate_zeroed(tc->gen2, size)
13
11.9M
        : MVM_gc_allocate_nursery(tc, size);
14
15.5M
}
Unexecuted instantiation: worklist.c:MVM_gc_allocate
Unexecuted instantiation: roots.c:MVM_gc_allocate
Unexecuted instantiation: collect.c:MVM_gc_allocate
Unexecuted instantiation: gen2.c:MVM_gc_allocate
Unexecuted instantiation: wb.c:MVM_gc_allocate
Unexecuted instantiation: objectid.c:MVM_gc_allocate
Unexecuted instantiation: finalize.c:MVM_gc_allocate
Unexecuted instantiation: validation.c:MVM_gc_allocate
Unexecuted instantiation: args.c:MVM_gc_allocate
Unexecuted instantiation: exceptions.c:MVM_gc_allocate
Unexecuted instantiation: interp.c:MVM_gc_allocate
Unexecuted instantiation: threadcontext.c:MVM_gc_allocate
Unexecuted instantiation: compunit.c:MVM_gc_allocate
Unexecuted instantiation: bytecode.c:MVM_gc_allocate
Unexecuted instantiation: frame.c:MVM_gc_allocate
Unexecuted instantiation: callstack.c:MVM_gc_allocate
Unexecuted instantiation: debug.c:MVM_gc_allocate
Unexecuted instantiation: bytecodedump.c:MVM_gc_allocate
Unexecuted instantiation: threads.c:MVM_gc_allocate
Unexecuted instantiation: ops.c:MVM_gc_allocate
Unexecuted instantiation: hll.c:MVM_gc_allocate
Unexecuted instantiation: loadbytecode.c:MVM_gc_allocate
Unexecuted instantiation: num.c:MVM_gc_allocate
Unexecuted instantiation: coerce.c:MVM_gc_allocate
Unexecuted instantiation: P6opaque.c:MVM_gc_allocate
Unexecuted instantiation: parametric.c:MVM_gc_allocate
Unexecuted instantiation: MVMString.c:MVM_gc_allocate
Unexecuted instantiation: VMArray.c:MVM_gc_allocate
Unexecuted instantiation: MVMHash.c:MVM_gc_allocate
Unexecuted instantiation: MVMCFunction.c:MVM_gc_allocate
Unexecuted instantiation: KnowHOWREPR.c:MVM_gc_allocate
Unexecuted instantiation: KnowHOWAttributeREPR.c:MVM_gc_allocate
Unexecuted instantiation: P6str.c:MVM_gc_allocate
Unexecuted instantiation: containers.c:MVM_gc_allocate
Unexecuted instantiation: MVMCode.c:MVM_gc_allocate
Unexecuted instantiation: MVMOSHandle.c:MVM_gc_allocate
Unexecuted instantiation: MVMCompUnit.c:MVM_gc_allocate
Unexecuted instantiation: MVMStaticFrame.c:MVM_gc_allocate
Unexecuted instantiation: P6int.c:MVM_gc_allocate
Unexecuted instantiation: P6num.c:MVM_gc_allocate
Unexecuted instantiation: Uninstantiable.c:MVM_gc_allocate
Unexecuted instantiation: procops.c:MVM_gc_allocate
Unexecuted instantiation: io.c:MVM_gc_allocate
Unexecuted instantiation: eventloop.c:MVM_gc_allocate
Unexecuted instantiation: syncfile.c:MVM_gc_allocate
Unexecuted instantiation: syncstream.c:MVM_gc_allocate
Unexecuted instantiation: syncpipe.c:MVM_gc_allocate
Unexecuted instantiation: syncsocket.c:MVM_gc_allocate
Unexecuted instantiation: fileops.c:MVM_gc_allocate
Unexecuted instantiation: dirops.c:MVM_gc_allocate
Unexecuted instantiation: callsite.c:MVM_gc_allocate
Unexecuted instantiation: timers.c:MVM_gc_allocate
Unexecuted instantiation: filewatchers.c:MVM_gc_allocate
Unexecuted instantiation: signals.c:MVM_gc_allocate
Unexecuted instantiation: asyncsocket.c:MVM_gc_allocate
Unexecuted instantiation: asyncsocketudp.c:MVM_gc_allocate
Unexecuted instantiation: reprs.c:MVM_gc_allocate
Unexecuted instantiation: reprconv.c:MVM_gc_allocate