This file contains hidden or 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
diff --git a/c_src/erlv8.cc b/c_src/erlv8.cc | |
index e984844..84b0144 100644 | |
--- a/c_src/erlv8.cc | |
+++ b/c_src/erlv8.cc | |
@@ -23,6 +23,7 @@ static ErlV8TickHandler tick_handlers[] = | |
{"set", SetTickHandler}, | |
{"set_proto", SetProtoTickHandler}, | |
{"set_hidden", SetHiddenTickHandler}, | |
+ {"set_accessor", SetAccessorTickHandler}, | |
{"proplist", ProplistTickHandler}, |
This file contains hidden or 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
==13899== Memcheck, a memory error detector | |
==13899== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==13899== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info | |
==13899== Command: /work/evax/incubator/priverlang/otp/bin/x86_64-unknown-linux-gnu/beam.valgrind.smp -- -root /work/evax/incubator/priverlang/otp -progname /work/evax/incubator/priverlang/otp/bin/cerl\ \ -valgrind\ -smp -- -home /home/evax -- -noshell -pa ./ebin ./deps/erlv8/ebin -s beamjs main -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ -jseval listenPort=8085 -load ../beamjs_doc_browser/app.js -pz /work/evax/incubator/priverlang/otp/erts/preloaded/ebin | |
==13899== Parent PID: 3757 | |
==13899== | |
==13899== Warning: set address range perms: large range [0x1095d000, 0x3095d000) (noaccess) | |
==13899== Thread 7: | |
==13899== Use of uninitialised value of size 8 | |
==13899== at 0x5B660EB: _itoa_word (_itoa.c:195) |
This file contains hidden or 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
==29994== Memcheck, a memory error detector | |
==29994== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==29994== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info | |
==29994== Command: /work/erlang/lib/erlang/erts-5.8.2/bin/inet_gethost 4 | |
==29994== Parent PID: 29984 | |
==29994== | |
==29995== | |
==29995== HEAP SUMMARY: | |
==29995== in use at exit: 3,762 bytes in 6 blocks | |
==29995== total heap usage: 49 allocs, 43 frees, 10,621 bytes allocated |
This file contains hidden or 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
CPU: Core 2, speed 2500 MHz (estimated) | |
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000 | |
samples % image name symbol name | |
91192 25.6244 beam.smp transform_engine | |
68365 19.2102 beam.smp bin_load | |
40916 11.4972 beam.smp process_main | |
12915 3.6290 beam.smp erts_sys_unblock_fpe | |
10802 3.0353 beam.smp erts_sys_block_fpe | |
8664 2.4345 beam.smp hash_get | |
6992 1.9647 beam.smp MD5Transform |
This file contains hidden or 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
-module(ezmq_test). | |
-export([hwm/0]). | |
hwm() -> | |
{ok, C} = ezmq:context(), | |
{ok, S1} = ezmq:socket(C, pull), | |
{ok, S2} = ezmq:socket(C, push), | |
ok = ezmq:setsockopt(S2, linger, 0), | |
ok = ezmq:setsockopt(S2, hwm, 5), |
This file contains hidden or 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
Core was generated by `/work/erlang/lib/erlang/erts-5.8.2/bin/beam.smp -B -- -root /work/erlang/lib/er'. | |
Program terminated with signal 11, Segmentation fault. | |
#0 0x00000000004f3171 in ethr_native_atomic_add_return (p=0x7f7ce7b16810, | |
fullsweep=24982) at ../include/internal/x86_64/../i386/atomic.h:104 | |
104 __asm__ __volatile__( | |
(gdb) thread apply all bt | |
Thread 12 (Thread 24983): | |
#0 0x00007f7ce8e7f203 in __poll (fds=<value optimised out>, | |
nfds=<value optimised out>, timeout=3595785) |
This file contains hidden or 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
diff --git a/perf/local_thr.erl b/perf/local_thr.erl | |
index 2601e0d..8497fd1 100755 | |
--- a/perf/local_thr.erl | |
+++ b/perf/local_thr.erl | |
@@ -8,11 +8,12 @@ main([BindTo,MessageSizeStr,MessageCountStr]) -> | |
{ok, Socket} = ezmq:socket(Context, sub), | |
ok = ezmq:setsockopt(Socket,subscribe, <<>>), | |
ok = ezmq:bind(Socket, BindTo), | |
- C = lists:seq(1,MessageCount), | |
- {Elapsed, _} = timer:tc(fun () -> |
This file contains hidden or 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
Program terminated with signal 11, Segmentation fault. | |
#0 unlink_free_block (allctr=0x900b80, block=0x28) | |
at beam/erl_goodfit_alloc.c:453 | |
453 Uint sz = BLK_SZ(blk); | |
(gdb) thread apply all bt | |
Thread 12 (Thread 1104): | |
#0 0x00007f5eea8e5f8c in __libc_recv (fd=32, buf=<value optimised out>, | |
n=<value optimised out>, flags=<value optimised out>) | |
at ../sysdeps/unix/sysv/linux/x86_64/recv.c:34 |
NewerOlder