Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] Improve JNI performance when submitting and executing tasks #9032

Merged
merged 7 commits into from
Jul 10, 2020
Merged
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/master' into jni_performance
  • Loading branch information
kfstorm committed Jun 29, 2020
commit ad41bd80f79dd2d151c8d1ed7df44880f584193f
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ Java_io_ray_runtime_task_NativeTaskSubmitter_nativeSubmitActorTask(
ray::CoreWorkerProcess::GetCoreWorker().SubmitActorTask(
actor_id, ray_function, task_args, task_options, &return_ids);

THROW_EXCEPTION_AND_RETURN_IF_NOT_OK(env, status, nullptr);

// This is to avoid creating an empty java list and boost performance.
if (return_ids.empty()) {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.