[sgen] Use the idle object ops for worker jobs
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 12 Apr 2017 22:20:07 +0000 (01:20 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Mon, 15 May 2017 09:52:51 +0000 (12:52 +0300)
commit820988907cd3b4868c720b76daed49dd4dd216bd
tree70ff9fe7e01e19d4f8734727c7831b0803e03137
parentf1542c6e52fba916b224dcbe17b750e2b3764e57
[sgen] Use the idle object ops for worker jobs

We had the object ops set in the job when allocating the job (typically by the main gc thread). When enqueueing jobs, we leave their ops NULL, and when the worker actually executes the job, it will use the idle object ops, which can get dynamically optimized over the work cycle.
mono/sgen/sgen-gc.c
mono/sgen/sgen-workers.c