cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "graham sanderson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8325) Cassandra 2.1.x fails to start on FreeBSD (JVM crash)
Date Tue, 30 Dec 2014 15:17:14 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261151#comment-14261151
] 

graham sanderson commented on CASSANDRA-8325:
---------------------------------------------

My first patch was kind of ugly (shortest path to probable correctness); whilst I could do
the same thing for the comparators, at that point the code will cease to be very elegant,
and probably in need of some refactoring to make it more approachable.

[~benedict] do you want to take this issue. I was really only taking a look out of curiosity
(hadn't seen it in our playings with 2.1.x), but it just seemed odd that there should be an
issue with Sun.misc.Unsafe on FreeBSD. We don't use FreeBSD or plan to, but as mentioned above,
this is actually incorrect code although it happens to work on most other things.

It seems like you took great pains to get the {{@Inline}} mix right, and you have much more
context than me with what you were thinking (again as per {{MIN_COPY_THRESHOLD}} and its only
partial use - which may not have been intended).

> Cassandra 2.1.x fails to start on FreeBSD (JVM crash)
> -----------------------------------------------------
>
>                 Key: CASSANDRA-8325
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8325
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: FreeBSD 10.0 with openjdk version "1.7.0_71", 64-Bit Server VM
>            Reporter: Leonid Shalupov
>         Attachments: hs_err_pid1856.log, system.log, unsafeCopy1.txt
>
>
> See attached error file after JVM crash
> {quote}
> FreeBSD xxx.intellij.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59
UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> {quote}
> {quote}
>  % java -version
> openjdk version "1.7.0_71"
> OpenJDK Runtime Environment (build 1.7.0_71-b14)
> OpenJDK 64-Bit Server VM (build 24.71-b01, mixed mode)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message