Skip to content

Conversation

@SereneAnt
Copy link
Contributor

What changes were proposed in this pull request?

Remove surplus synchronized blocks.

How was this patch tested?

Unit tests run OK.

@SereneAnt SereneAnt changed the title [SPARK-8577][SparkR] Eliminate needless synchronization in java-R serialization [SPARK-21575][SparkR] Eliminate needless synchronization in java-R serialization Jul 30, 2017
@SereneAnt SereneAnt force-pushed the eliminate_unnecessary_synchronization_in_java-R_serialization branch from eafad7d to aeee08f Compare July 30, 2017 06:12
Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. A lock is still acquired, but just the map's lock. Less work is done too. That can help a little.

@SparkQA
Copy link

SparkQA commented Jul 30, 2017

Test build #3863 has finished for PR 18775 at commit aeee08f.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@yanboliang yanboliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yanboliang
Copy link
Contributor

Merged into master, thanks for all.

@asfgit asfgit closed this in 106eaa9 Jul 31, 2017
@SereneAnt SereneAnt deleted the eliminate_unnecessary_synchronization_in_java-R_serialization branch July 31, 2017 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants