Skip to content

Commit f5ef369

Browse files
committed
ristretto: fix typo
1 parent e175b0e commit f5ef369

File tree

1 file changed

+2
-2
lines changed
  • substratevm/src/com.oracle.svm.interpreter/src/com/oracle/svm/interpreter/ristretto/meta

1 file changed

+2
-2
lines changed

substratevm/src/com.oracle.svm.interpreter/src/com/oracle/svm/interpreter/ristretto/meta/RistrettoMethod.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static RistrettoMethod create(InterpreterResolvedJavaMethod interpreterMe
100100

101101
public MethodProfile getProfile() {
102102
if (profile == null) {
103-
initializedProfile();
103+
initializeProfile();
104104
}
105105
return profile;
106106
}
@@ -109,7 +109,7 @@ public MethodProfile getProfile() {
109109
* Allocate the profile once per method. Apart from test scenarios the profile is never set to
110110
* null again. Thus, the heavy locking code below is normally not run in a fast path.
111111
*/
112-
private synchronized void initializedProfile() {
112+
private synchronized void initializeProfile() {
113113
if (profile == null) {
114114
MethodProfile newProfile = new MethodProfile(this);
115115
// ensure everything is allocated and initialized before we signal the barrier

0 commit comments

Comments
 (0)