File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22//
33// This source file is part of the Swift.org open source project
44//
5- // Copyright (c) 20245Apple Inc. and the Swift.org project authors
5+ // Copyright (c) 2025 Apple Inc. and the Swift.org project authors
66// Licensed under Apache License v2.0
77//
88// See LICENSE.txt for license information
1818import org .openjdk .jmh .infra .Blackhole ;
1919import org .swift .swiftkit .core .ClosableSwiftArena ;
2020import org .swift .swiftkit .core .ConfinedSwiftMemorySession ;
21+ import org .swift .swiftkit .core .SwiftArena ;
2122
2223import java .util .ArrayList ;
2324import java .util .List ;
@@ -39,7 +40,7 @@ public static class BenchmarkState {
3940
4041 @ Setup (Level .Trial )
4142 public void beforeAll () {
42- arena = new ConfinedSwiftMemorySession ();
43+ arena = SwiftArena . ofConfined ();
4344 vehicle = Vehicle .motorbike ("Yamaha" , 900 , OptionalInt .empty (), arena );
4445 }
4546
You can’t perform that action at this time.
0 commit comments