6 research outputs found

    Garbage Collection Algorithms

    Get PDF
    This thesis focuses on an implementation of automatic memory management in C programming language. Mark-sweep method was modified for use in uncooperative programming language, which does not share data type information of memory slots accessible by the mutator. Due to this fact, decisions on pointer identity are conservative which guarantees safe collector operation - if value looks sufficiently like a pointer, it is considered a pointer (although it might not actually be one). Mark bits were moved from object's headers to bitmaps, stored in a seperate part of memory to prevent accidental writes to user's data by the collector. Finally, the usage of garbage collector was evaluated in practice

    Garbage Collection Algorithms

    Get PDF
    This thesis focuses on an implementation of automatic memory management in C programming language. Mark-sweep method was modified for use in uncooperative programming language, which does not share data type information of memory slots accessible by the mutator. Due to this fact, decisions on pointer identity are conservative which guarantees safe collector operation - if value looks sufficiently like a pointer, it is considered a pointer (although it might not actually be one). Mark bits were moved from object's headers to bitmaps, stored in a seperate part of memory to prevent accidental writes to user's data by the collector. Finally, the usage of garbage collector was evaluated in practice

    Garbage Collection Algorithms

    Full text link
    Diplomsko delo je posvečeno implementaciji avtomatskega upravljanja pomnilnika za programski jezik C. Metoda čiščenja označi-počisti se je prilagodila za nekooperativen jezik, ki ne sporoča informacij o tipih podatkov na mestih dostopnih mutatorju. Prepoznavanje kazalcev v korenih in poljih objektov je zato konzervativno, kar omogoča varno delovanje čistilca - če je vsebovana vrednost dovolj podobna kazalcu, se jo smatra kot kazalec (četudi to morda ni). Da se uporabnikove podatke zavaruje pred nenamernim pisanjem čistilca, se je označevalne bite premaknilo iz glav objektov v bitna polja, shranjena v ločenem delu pomnilnika. Na koncu sledi še vrednotenje uporabe čistilca v praksi.This thesis focuses on an implementation of automatic memory management in C programming language. Mark-sweep method was modified for use in uncooperative programming language, which does not share data type information of memory slots accessible by the mutator. Due to this fact, decisions on pointer identity are conservative which guarantees safe collector operation - if value looks sufficiently like a pointer, it is considered a pointer (although it might not actually be one). Mark bits were moved from object\u27s headers to bitmaps, stored in a seperate part of memory to prevent accidental writes to user\u27s data by the collector. Finally, the usage of garbage collector was evaluated in practice

    Food safety knowledge and practices of pregnant women and postpartum mothers in Slovenia

    Full text link
    Food safety during pregnancy and postpartum is important for preventing foodborne diseases, while pregnant women are considered vulnerable due to their immunomodulatory condition. The current study aimed to investigate the self-reported food safety knowledge and practices of pregnant women and postpartum mothers in Slovenia using an online questionnaire and to compare the results with nonpregnant women as a control group. The study was conducted with 426 women, of whom 145 were pregnant, 191 were not pregnant, and 90 were postpartum. The online questionnaire consisted of questions related to food safety risk perception, hand hygiene, food purchase, food storage, food preparation and handling of infant formula and breast milk. The results showed that women generally have basic knowledge of proper food handling and are aware of food safety, but some specific gaps were identified in food handling at home, especially concerning microbiological risks. However, the results showed that pregnant women performed better than the postpartum group, and both groups performed significantly better than the nonpregnant group. The media was most frequently cited as a source of food safety information, especially by the pregnant group. Trained health workers should also inform women on how to ensure food safety in the home environment
    corecore