Code

History

Commits on master to src/vm/scheduler.cpp24
  1. Remove vm_thread reference from exec/fork vm functions.arr committed 9 years agoa64d775
  2. Remove 'using namespace' statements from all but the execution table file.arr committed 9 years ago2519a93
  3. Created multiple pointer field iterators based on application Fix bug in vm_string class related to appending null at the end of the current string - This was recently introduced because I didn't test the case :( Scheduler had an invalid usage of std::mutex that was found using the debug version of CRT Fix heinous perf issue in GC where it was taking longer than code execution - Switch from std::queue to std::stack -> perf gain of ~20%arr committed 9 years ago30c4c58
  4. Expose a mechanism for the GC to supply memory allocators instead of static linking them in.arr committed 9 years ago6ec8bed
  5. Alter debugger API to accept vector value not reference.arr committed 9 years agocc8f2b6
  6. Add support for traps in VM Add instruction trap to enable single step scenario in debugger Remote get_state() function from threadarr committed 9 years agocb408a1
  7. Create configuration struct for VM Add syscall failure exception - Create VM syscall failure message functions Respect the 'r' format verb Create module resolver interface Implement default module resolver interface Implement Sys.fildes() functionarr committed 9 years ago232a659
  8. Update UX for some scenarios. - PCs should be prefixed with an '@' - Function symbol printing in debugger - Disassemble command can now specify absolute PC to disassemble - Exception printing - md5sum program - prints new linesarr committed 9 years ago55b7ecc
  9. Fix race condition between scheduler and debugger during all thread suspension.arr committed 9 years agobd141a7
  10. Enable logging from exec for specific components. Remove trailing newlines from all existing logging calls.arr committed 9 years agodd0789c
  11. Change assert to exception if a dis module contains an invalid magic number. Broken threads now terminate the VM using the default scheduler. Tools can not get a callback for broken threads.arr committed 10 years ago096b0c7
  12. Change runnable thread collection to store thread IDs instead of shared pointers.arr committed 10 years ago28f98c3
  13. Reduce assembly footprint of execute function to allow for specialized tool dispatcher logic Fix locking strategy in scheduler - Release lock prior to notify Change default build optimization to 'for speed' rather than 'full' Add current thread quanta to register and specify size for thread state enum No longer free tool dispatcher after all tools have detachedarr committed 10 years ago8142339
  14. Alter register address decoding using a lookup table instead of single function with multiple switch blocks. Reduced scheduler sleep time during tool dispatch setting.arr committed 10 years ago824a71a
  15. Additional debugger command (term) Add command line arguments for enabling debugger from execarr committed 10 years ago660681b
  16. Basic debugger implementation - No way to enable it without altering exec main.cpp.arr committed 10 years agof2c6ef3
  17. Various work for tool support in the VM. Update some type names (i.e. _t) and alter API signatures to be more consistent.arr committed 10 years agoe5d3f86
  18. Name the entry module in the exec program. Re-write stack walking function for debugger. System exceptions now print out call stack.arr committed 10 years ago794ecfc
  19. Handle system exceptions in the scheduler.arr committed 10 years ago4f6417b
  20. Code clean-up Optimization in allocation pointer enumeration. - Removed needless division - Marked bitset<> as const, now indexing is a constexpr.arr committed 10 years ago8506dc6
  21. Basic implementation of Sys module functions - Sys.create, Sys.open, Sys.read, Sys.write - Sys.tokenizearr committed 10 years ago992a33f
  22. Bug in scheduler due to uninitialized member variable.arr committed 10 years ago6d77c2d
  23. MP base register was not being initialized. Add assert for broken thread state.arr committed 10 years agof0dd083
  24. Initial public commit for Dis VMarr committed 10 years agof95902e