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

fix: set String.hashIsZero to false when creating a new string in Java 17+ #141

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

brianheineman
Copy link
Contributor

Description:

  • Adjusted Java object string handling for Java 17+ compatibility.
  • Updated multiple dependencies in Cargo.lock.
  • Set String.hashIsZero to false when creating a new string in Java 17+.

…a 17+

Adjusted Java object string handling for Java 17+ compatibility.
Updated multiple dependencies in Cargo.lock including syn to 2.0.89 and hyper to 1.5.1.
@github-actions github-actions bot added the fix label Nov 22, 2024
@brianheineman brianheineman changed the title fix: Adjust Java object string handling and update dependencies @brianheineman fix: set String.hashIsZero to false when creating a new string in Java 17+ Nov 22, 2024
Copy link

🐰 Bencher Report

Branchstring-hash-is-zero
Testbedlocalhost

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
from_bytes📈 view plot
⚠️ NO THRESHOLD
45,576.00
load_hash_map📈 view plot
⚠️ NO THRESHOLD
36,032.00
load_invalid_class📈 view plot
⚠️ NO THRESHOLD
27,193.00
runtime_v11📈 view plot
⚠️ NO THRESHOLD
33,710,000.00
runtime_v17📈 view plot
⚠️ NO THRESHOLD
30,489,000.00
runtime_v21📈 view plot
⚠️ NO THRESHOLD
32,162,000.00
runtime_v8📈 view plot
⚠️ NO THRESHOLD
21,857,000.00
to_bytes📈 view plot
⚠️ NO THRESHOLD
22,561.00
to_string📈 view plot
⚠️ NO THRESHOLD
150,830.00
verify📈 view plot
⚠️ NO THRESHOLD
1,058.60
🐰 View full continuous benchmarking report in Bencher

@brianheineman brianheineman changed the title @brianheineman fix: set String.hashIsZero to false when creating a new string in Java 17+ fix: set String.hashIsZero to false when creating a new string in Java 17+ Nov 22, 2024
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.81%. Comparing base (30257eb) to head (9ff23e7).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
ristretto_vm/src/java_object.rs 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #141      +/-   ##
==========================================
- Coverage   95.81%   95.81%   -0.01%     
==========================================
  Files         147      147              
  Lines       27303    27307       +4     
==========================================
+ Hits        26160    26163       +3     
- Misses       1143     1144       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@brianheineman brianheineman merged commit 2078c7d into main Nov 22, 2024
70 of 71 checks passed
@brianheineman brianheineman deleted the string-hash-is-zero branch November 22, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant