Skip to content

Commit

Permalink
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion truffle/pom.rb
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@

properties( 'polyglot.dump.pom' => 'pom.xml',
'polyglot.dump.readonly' => true,
'truffle.version' => 'b549cb8d916cd87470564d40ecb9805547c28b5e-SNAPSHOT',
'truffle.version' => '98add2bdcd72f3771c2492c99a86886c38bc6f0c-SNAPSHOT',
'jruby.basedir' => '${basedir}/..',
'maven.test.skip' => 'true' )

2 changes: 1 addition & 1 deletion truffle/pom.xml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ DO NOT MODIFIY - GENERATED CODE
<jruby.basedir>${basedir}/..</jruby.basedir>
<polyglot.dump.readonly>true</polyglot.dump.readonly>
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
<truffle.version>b549cb8d916cd87470564d40ecb9805547c28b5e-SNAPSHOT</truffle.version>
<truffle.version>98add2bdcd72f3771c2492c99a86886c38bc6f0c-SNAPSHOT</truffle.version>
</properties>
<dependencies>
<dependency>
5 changes: 3 additions & 2 deletions truffle/src/main/java/org/jruby/truffle/JRubyTruffleImpl.java
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@

import com.oracle.truffle.api.source.Source;
import com.oracle.truffle.api.vm.PolyglotEngine;
import com.oracle.truffle.tools.TruffleProfiler;
//import com.oracle.truffle.tools.TruffleProfiler;
import java.io.IOException;
import org.jruby.JRubyTruffleInterface;
import org.jruby.Ruby;
@@ -34,7 +34,8 @@ public JRubyTruffleImpl(Ruby runtime) {
.build();

if (Options.TRUFFLE_PROFILER.load()) {
engine.getInstruments().get(TruffleProfiler.ID).setEnabled(true);
throw new UnsupportedOperationException("the profiler is temporarily not implemented");
//engine.getInstruments().get(TruffleProfiler.ID).setEnabled(true);
}

try {

0 comments on commit 1c89dd0

Please sign in to comment.