Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35E1F18A81 for ; Wed, 16 Sep 2015 15:39:49 +0000 (UTC) Received: (qmail 78746 invoked by uid 500); 16 Sep 2015 15:39:46 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 78663 invoked by uid 500); 16 Sep 2015 15:39:45 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 78555 invoked by uid 99); 16 Sep 2015 15:39:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2015 15:39:45 +0000 Date: Wed, 16 Sep 2015 15:39:45 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-1497) Support CPU architectures different from x86/x64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Denis Magda created IGNITE-1497: ----------------------------------- Summary: Support CPU architectures different from x86/x64 Key: IGNITE-1497 URL: https://issues.apache.org/jira/browse/IGNITE-1497 Project: Ignite Issue Type: Improvement Components: general Reporter: Denis Magda Ignite widely uses {{Unsafe}} instance throughout the code and the usage is mostly based on the fact that the platform will be running on a little-endian x86/x64 machine. As an example the following classes work with short, int, long and other type values bigger than 1 byte in size without taking CPU endiannes into account: - {{DirectByteBufferStream}}; - {{PortableObjectOffheapImpl}}; - {{GridUnsafeDataOutput}}; - etc. This leads to VM crashes on different CPU architectures: - IGNITE-1493; - http://stackoverflow.com/questions/32592881/apache-ignite-arm-unsafe-getfloat-segmentation-fault All the classes that use {{Unsafe}} in Ignite have to be revisited and modified in a way to support different CPU architectures. -- This message was sent by Atlassian JIRA (v6.3.4#6332)