95bb0c5357d265f7e284395f6495e2ad9947bb38,python/ray/tests/test_reference_counting.py,,test_pass_returned_object_id,#Any#Any#,644

Before Change



    signal = SignalActor.remote()
    outer_oid = return_an_id.remote()
    inner_oid_binary = ray.get(outer_oid)[0].binary()
    pending_oid = pending.remote([outer_oid], signal)

    // Remove the local reference to the returned ID.

After Change


    // Check that the inner ID is pinned by the remote task ID.
    _fill_object_store_and_get(pending_oid, succeed=False)
    ray.get(signal.send.remote())
    inner_oid = ray.get(pending_oid)
    inner_oid_binary = inner_oid.binary()
    _fill_object_store_and_get(inner_oid_binary)

    del pending_oid
    del inner_oid
    _fill_object_store_and_get(inner_oid_binary, succeed=False)


// Call a recursive chain of tasks that pass a serialized reference that was
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 95bb0c5357d265f7e284395f6495e2ad9947bb38
Time: 2020-03-09
Author: swang@cs.berkeley.edu
File Name: python/ray/tests/test_reference_counting.py
Class Name:
Method Name: test_pass_returned_object_id


Project Name: ray-project/ray
Commit Name: 62c7ab518214286a4721dd7410978effd6d05471
Time: 2020-11-12
Author: sven@anyscale.io
File Name: rllib/models/modelv2.py
Class Name: ModelV2
Method Name: from_batch


Project Name: ray-project/ray
Commit Name: 53549314c58f33dac679616bca7eaaec2bf97a6b
Time: 2020-03-14
Author: swang@cs.berkeley.edu
File Name: python/ray/tests/test_reference_counting.py
Class Name:
Method Name: test_recursively_pass_returned_object_id


Project Name: chainer/chainercv
Commit Name: a7706fbde22887909db42f96a696437c084c05db
Time: 2017-05-31
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/evaluations/eval_detection_voc.py
Class Name:
Method Name: eval_detection_voc