This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test { | |
static enum E { | |
E1, E2, E3, E4, E5; | |
} | |
public static void main(String []args) { | |
Thread threads[] = new Thread[30]; | |
for (int i = 0; i < threads.length; i++) { | |
threads[i] = new Thread() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Query13] SIGSEGV at EIP 0806bbce while accessing memory address 215eb83c. | |
[Query13] Registers: | |
[Query13] eax: 215eb834 ebx: 0da2ef38 ecx: a7500010 edx: a4200000 | |
[Query13] esi: a4215ec8 edi: a4215ed0 ebp: a73fa30c esp: a73fa2e4 | |
[Query13] Native and Java stack trace: | |
[Query13] [<0806bbce>] native : interval_add_range+3f (/home/tomek/projects/jato/jato/jit/interval.c:354) | |
[Query13] [<0806d130>] native : ./jato(analyze_liveness+0x384) [0x806d130] | |
[Query13] [<08069d49>] native : compile+f1 (/home/tomek/projects/jato/jato/jit/compiler.c:88) | |
[Query13] [<08070f87>] native : ./jato(jit_magic_trampoline+0x10f) [0x8070f87] | |
[Query13] [<a785efac>] trampoline : org/apache/lucene/index/SegmentTermEnum.next(SegmentTermEnum.java:111) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tomek@tomek-laptop:~/projects/jato/jato$ java -cp regression jvm.PrintTest | |
PrintTest OK. | |
tomek@tomek-laptop:~/projects/jato/jato$ jamvm -cp regression jvm.PrintTest | |
Exception in thread "main" java.lang.NoClassDefFoundError: jvm/PrintTest | |
<<No stacktrace available>> | |
Caused by: java.lang.ClassNotFoundException: jvm.PrintTest not found in java.lang.ClassLoader$1{urls=[], parent=null} | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:529) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:341) | |
at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:293) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test extends Thread { | |
public synchronized void run() { | |
} | |
public static void main(String[] args) { | |
while (true) | |
new Test().start(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main] trace invoke: java/lang/StrictMath.remPiOver2([D[DII)I | |
[main] entry : 0xa7d140a0 | |
[main] ret : 0xa78d8914: java/lang/StrictMath.remPiOver2(D[D)I | |
[main] (StrictMath.java:2157) | |
[main] args : | |
[main] J_REFERENCE : 0xbef4708 = {14484948.000000 ,989401.000000 ,2097152.000000} ([D) | |
[main] J_REFERENCE : 0xbf4aa40 = {0.000000 ,0.000000} ([D) | |
[main] J_INT : 0xf | |
[main] J_INT : 0x2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
itable resolver stub error! | |
invokeinterface called on method org/eclipse/core/runtime/IExtensionPoint.getExtensions()[Lorg/eclipse/core/runtime/IExtension; (itable index 1) | |
object class org/eclipse/core/internal/registry/ExtensionPointHandle | |
[Start Level Event Dispatcher] Native and Java stack trace: | |
[Start Level Event Dispatcher] [<0805f2dc>] native : itable_resolver_stub_error+5f (/home/tomek/projects/jato/jato/arch/x86/emit-code.c:1764) | |
[Start Level Event Dispatcher] [<a7b2b4db>] jit : org/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper.getPrefExtensions(PreferenceServiceRegistryHelper.java:205) | |
[Start Level Event Dispatcher] [<a7b2b07b>] jit : org/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper.initializeScopes(PreferenceServiceRegistryHelper.java:227) | |
[Start Level Event Dispatcher] [<a7b2ad20>] jit : org/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper.<init>(PreferenceServiceRegistryHelper.java:71) | |
[Start Level Event Dispa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/intrusive/rbtree.hpp> | |
#include <boost/intrusive/set.hpp> | |
#include <iostream> | |
namespace bi = boost::intrusive; | |
struct s { | |
bi::set_member_hook<> hook; | |
int val; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util | |
sda | |
0,00 0,00 0,00 271,00 0,00 2540,00 18,75 1,64 5,77 0,00 5,77 3,35 90,80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:~/src/osv $ sudo scripts/run.py -nv | |
OSv v0.05-83-g2e8eb60 | |
[/]% cat /var/log/mgmt.log | |
2014-01-23 12:06:57,935 INFO org.crsh.standalone.Bootstrap:178 - Added /crash/commands/ path to command path | |
2014-01-23 12:06:57,980 INFO org.crsh.standalone.Bootstrap:127 - Added /crash/ path to conf path | |
2014-01-23 12:06:58,028 INFO org.crsh.standalone.Bootstrap:117 - Configuring property vfs.refresh_period=1 from properties | |
2014-01-23 12:06:58,032 INFO org.crsh.plugin.PluginManager:57 - Loaded plugin Plugin[type=SSHPlugin,interface=SSHPlugin] | |
2014-01-23 12:06:58,034 INFO org.crsh.plugin.PluginManager:57 - Loaded plugin Plugin[type=SSHInlinePlugin,interface=CommandPlugin] | |
2014-01-23 12:06:58,035 INFO org.crsh.plugin.PluginManager:57 - Loaded plugin Plugin[type=KeyAuthenticationPlugin,interface=KeyAuthenticationPlugin] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_ip_for_mac(box, mac): | |
line = box.eval(['arp -n | grep ' + mac]) | |
if line: | |
return line.split()[0] | |
return None | |
def get_guest_ip(box, mac): | |
while True: | |
ip = get_ip_for_mac(box, mac) | |
if ip: |
OlderNewer