Skip to content

Commit

Permalink
Make HostColumnVector.getRefCount public (#13934)
Browse files Browse the repository at this point in the history
This is a small PR to make HostColumnVector.getRefCount public. 

This is useful in figuring out spillability for a `HostColumnVector` (plugin issue: NVIDIA/spark-rapids#8882)

Authors:
  - Alessandro Bellina (https://github.com/abellina)

Approvers:
  - Jason Lowe (https://github.com/jlowe)
  - Robert (Bobby) Evans (https://github.com/revans2)

URL: #13934
  • Loading branch information
abellina authored Aug 22, 2023
1 parent 595308b commit 0d90b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/main/java/ai/rapids/cudf/HostColumnVector.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private synchronized HostColumnVector incRefCountInternal(boolean isFirstTime) {
/**
* Returns this column's current refcount
*/
synchronized int getRefCount() {
public synchronized int getRefCount() {
return refCount;
}

Expand Down

0 comments on commit 0d90b8e

Please sign in to comment.