Mercurial > hg > graal-compiler
comparison src/share/vm/memory/genCollectedHeap.cpp @ 4728:441e946dc1af
7121618: Change type of number of GC workers to unsigned int.
Summary: Change variables representing the number of GC workers to uint from int and size_t. Change the parameter in work(int i) to work(uint worker_id).
Reviewed-by: brutisso, tonyp
author | jmasa |
---|---|
date | Wed, 14 Dec 2011 13:34:57 -0800 |
parents | e7dead7e90af |
children | aa3d708d67c4 |
comparison
equal
deleted
inserted
replaced
4727:67fdcb391461 | 4728:441e946dc1af |
---|---|
701 | 701 |
702 HeapWord* GenCollectedHeap::satisfy_failed_allocation(size_t size, bool is_tlab) { | 702 HeapWord* GenCollectedHeap::satisfy_failed_allocation(size_t size, bool is_tlab) { |
703 return collector_policy()->satisfy_failed_allocation(size, is_tlab); | 703 return collector_policy()->satisfy_failed_allocation(size, is_tlab); |
704 } | 704 } |
705 | 705 |
706 void GenCollectedHeap::set_par_threads(int t) { | 706 void GenCollectedHeap::set_par_threads(uint t) { |
707 SharedHeap::set_par_threads(t); | 707 SharedHeap::set_par_threads(t); |
708 _gen_process_strong_tasks->set_n_threads(t); | 708 _gen_process_strong_tasks->set_n_threads(t); |
709 } | 709 } |
710 | 710 |
711 void GenCollectedHeap:: | 711 void GenCollectedHeap:: |