Skip to content

Commit

Permalink
Cleanup benchmarks and Library17
Browse files Browse the repository at this point in the history
  • Loading branch information
markehammons committed Feb 10, 2023
1 parent 372d486 commit 3a46ce5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fr.hammons.slinc

import org.openjdk.jmh.annotations.*,
Mode.{SampleTime, SingleShotTime, Throughput}
import org.openjdk.jmh.annotations.*, Mode.{SingleShotTime, Throughput}
import java.util.concurrent.TimeUnit

@State(Scope.Thread)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fr.hammons.slinc

import org.openjdk.jmh.annotations.*,
Mode.{SampleTime, SingleShotTime, Throughput}
import org.openjdk.jmh.annotations.*, Mode.{SingleShotTime, Throughput}
import java.util.concurrent.TimeUnit

@State(Scope.Thread)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fr.hammons.slinc

import org.openjdk.jmh.annotations.*,
Mode.{SampleTime, SingleShotTime, Throughput}
import org.openjdk.jmh.annotations.*, Mode.{SingleShotTime, Throughput}
import java.util.concurrent.TimeUnit

@State(Scope.Thread)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fr.hammons.slinc

import org.openjdk.jmh.annotations.*,
Mode.{SampleTime, SingleShotTime, Throughput}
import org.openjdk.jmh.annotations.*, Mode.{SingleShotTime, Throughput}
import java.util.concurrent.TimeUnit

@State(Scope.Thread)
Expand Down
2 changes: 1 addition & 1 deletion j17/src/fr/hammons/slinc/Library17.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Library17(linker: CLinker) extends LibraryI.PlatformSpecific:
def lookup(name: String): Object =
s.lookup(name).nn.orElseThrow(() => throw this.lookupError(name)).nn
private val standardLibLookup =
J17Lookup(CLinker.systemLookup().nn, LibraryLocation.Standardard)
J17Lookup(CLinker.systemLookup().nn, LibraryLocation.Standard)
override def getStandardLibLookup: Lookup =
Tools.hashCode()

Expand Down

0 comments on commit 3a46ce5

Please sign in to comment.