Permalink
Switch branches/tags
Nothing to show
Commits on Jan 4, 2010
  1. Null buffer after making a string out of it in Parrot_str_new_from_bu…

    plobsing committed Jan 4, 2010
    …ffer.
    
    This is needed to not confuse GC during string compaction.
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43379 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jan 3, 2010
  1. deal properly with PMC_metadata (prophash) being PMCNULL

    plobsing committed Jan 3, 2010
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43377 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jan 2, 2010
  1. native_pbc platform updates

    plobsing committed Jan 2, 2010
    also, fix some old, broken, dead code to get tools/dev/mk_native_pbc to work
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43376 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. without EXTRA_IS_PROP_HASH, there should be no additional data once w…

    plobsing committed Jan 2, 2010
    …e think we're done reading the image
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43372 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. remove code that used to handle prophashes

    plobsing committed Jan 2, 2010
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43367 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. eliminate need for EXTRA_IS_PROP_HASH

    plobsing committed Jan 2, 2010
    the prophash handling is contained in visit_todo_list() for now
    
    TODO: get someone with an i386 regenerate t/native_pbc/*
    TODO: clean up all references to EXTRA_IS_PROP_HASH
    TODO: move prophash handling into default.visit
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43366 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jan 1, 2010
  1. various small changes moving towards eliminating extra_flags+EXTRA_IS…

    plobsing committed Jan 1, 2010
    …_PROP_HASH
    
    * clean up creation of pmcs being thawed
    * reduce the scope of EXTRA_IS_PROP_HASH in default.visit
    * extra_flags implies EXTRA_IS_PROP_HASH, no need to use an INTVAL in the image to denote this
    * add assertions to freeze and thaw visit methods
    * clean up thawing of seen/prophash pmcs
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43359 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. mark unused PMC as SHIM

    plobsing committed Jan 1, 2010
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43358 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. eliminate run_thaw (inlined into Parrot_thaw)

    plobsing committed Jan 1, 2010
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43356 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. remove more thaw constant code and document lack of thaw constant in …

    plobsing committed Jan 1, 2010
    …docs
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43354 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 31, 2009
  1. prototype of a more general pmc visit system

    plobsing committed Dec 31, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43350 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. Thawing constants is a lie.

    plobsing committed Dec 31, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43349 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. re-todo eval.thaw test (TT#1142), eliminate workaround in visit_loop_…

    plobsing committed Dec 31, 2009
    …todo_list
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43348 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 30, 2009
  1. remove checking for EXTRA_IS_NULL in PMCs (it will always be so)

    plobsing committed Dec 30, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43314 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 29, 2009
  1. Refactored goto into do while loop

    tewk committed Dec 29, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43312 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 28, 2009
  1. reuse id_list on thaw for finish_list, reducing garbage created durin…

    plobsing committed Dec 28, 2009
    …g thaw
    
    except: also includes workaround for GC bug revealed by this change
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43293 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 27, 2009
  1. Removed needless helper functions

    tewk committed Dec 27, 2009
    State is localized to functions now.
    EXTRA_IS_PROP_HASH is an old ugly hack that needs to be refactored
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43266 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. remove visit_info.extra and fixup how prophashes get frozen a little

    plobsing committed Dec 27, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43261 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. remove EXTRA_{IS_UNUSED,CLASS_EXISTS} which were unused

    plobsing committed Dec 27, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43260 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. eliminate do_thaw (inlined into visit_todo_list_thaw)

    plobsing committed Dec 27, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43259 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 26, 2009
  1. inline thawing property hashes into pmc_freeze.c + eliminate handling…

    plobsing committed Dec 26, 2009
    … prophashes in PMCs
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43255 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. death to visit_info.thaw_result

    plobsing committed Dec 26, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43254 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 25, 2009
  1. new macro VISIT_PMC + no more direct visit_info access in src/list.c …

    plobsing committed Dec 25, 2009
    …(using VISIT_PMC) + headerizer + fix headerizer induced warnings
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43242 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 24, 2009
  1. fix codetest failure - fix documentation

    mikehh committed Dec 24, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43240 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. fix codetest failure - fix documentation

    mikehh committed Dec 24, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43239 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. Simplify macros, cleanup warnings

    tewk committed Dec 24, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43238 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. simplify pmc_freeze macros

    tewk committed Dec 24, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43237 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  5. add Parrot_gc_new_string_header

    tewk committed Dec 24, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43236 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  6. pmc_freeeze cleanup and refactor to use PackFile_unpack

    tewk committed Dec 24, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43235 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 23, 2009
  1. make visit_info.pos an array index and stop using Parrot_str_new_init…

    plobsing committed Dec 23, 2009
    … on 'Buffer *'s
    
    This fixes segfaults in examples/benchmarks/freeze.pasm and when DISABLE_GC_DEBUG isn't defined. It
    is dirty, clumsy, and breaks encapsulation on strings, but it works.
    
    visit_info.pos:
    Pointers into buffers will fail after a gc string compaction, only Buffer.bufstart is guaranteed to
    work.
    
    Parrot_str_new_init vs. Buffer*:
    Passing Buffer.bufstart to a routine that might allocate memory (and therefor might compact strings)
    might fail for a similar reason to that mentioned above. Separate routines taking 'Buffer *'s in
    stead should fix this, but these don't exist yet.
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43229 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 21, 2009
  1. remove non-functional general looking code

    plobsing committed Dec 21, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43178 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. use VISIT_PMC_ATTR in key, scheduler, sub, and task PMCs

    plobsing committed Dec 21, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43177 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Dec 17, 2009
  1. eliminate logical || with non-zero constant warning

    plobsing committed Dec 17, 2009
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43123 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. add VISIT_PMC_ATTR macro to visit an attribute easily

    plobsing committed Dec 17, 2009
    need to pass in the class because of pmc2c--
    
    
    git-svn-id: https://svn.parrot.org/parrot/branches/pmc_freeze_cleanup@43122 d31e2699-5ff4-0310-a27c-f18f2fbe73fe