DESCRIPTION

ctf: Provide a utility for "safe" mapping of a ByteBuffer

This works around a bug on Windows which prevents deleting a file after it
was mapped. See http://bugs.java.com/view_bug.do?bug_id=4715154

Running TraceSeekBenchmark, I noticed a 10% decreased in performance (3.8s vs 3.4s) on Windows. On Linux, the difference is negligible (2.41s vs 2.40).

Bug: 443643
Change-Id: Ie590709df4149708a37257ee3bc3d3d017f31c21
Signed-off-by: Alivia Ritter xxx@xxx.xxx
Reviewed-on: https://git.eclipse.org/r/32448
Tested-by: Brenden Conley


COMMENTS

author: Kaeden Tapia
date: 2014-09-09 19:57:50.000000000

Uploaded patch set 1.

-------------------------------------
author: Ivy Mitchell
date: 2014-09-09 20:07:51.000000000

Patch Set 1: Code-Review+1

-------------------------------------
author: Brenden Conley
date: 2014-09-09 20:56:41.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/8866/

-------------------------------------
author: Brenden Conley
date: 2014-09-09 21:14:18.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/8866/ : FAILURE

-------------------------------------
author: Brenden Conley
date: 2014-09-10 00:57:00.000000000

Patch Set 1: -Verified

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/8878/

-------------------------------------
author: Brenden Conley
date: 2014-09-10 01:36:18.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/8878/ : SUCCESS

-------------------------------------
author: Kaeden Tapia
date: 2014-09-10 04:53:31.000000000

Patch Set 1: Code-Review+2

-------------------------------------
