scolebourne [Thu, 06 Mar 2014 17:46:12 +0000] rev 23596
8036785: ChronoLocalDate refers to generics that have been removed
Reviewed-by: alanb, rriggs
Contributed-by: Stephen Colebourne <scolebourne@joda.org>
rriggs [Sat, 29 Mar 2014 15:01:47 -0400] rev 23595
8032491: DateTimeFormatter fixed width adjacent value parsing does not match spec
Reviewed-by: lancea, rriggs
Contributed-by: Stephen Colebourne <scolebourne@joda.org>
iignatyev [Sat, 29 Mar 2014 12:29:21 +0400] rev 23594
8038186: [TESTBUG] improvements of test j.l.i.MethodHandles
Reviewed-by: iveresov, twisti, vlivanov
erikj [Fri, 28 Mar 2014 18:03:40 +0100] rev 23593
Merge
erikj [Fri, 28 Mar 2014 15:00:07 +0100] rev 23592
8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris
Reviewed-by: ihse
chegar [Fri, 28 Mar 2014 16:59:19 +0000] rev 23591
8038276: java/net/NetworkInterface/Test.java fails on Windows intermittently for Teredo Interface
Reviewed-by: chegar
Contributed-by: Amanda Jiang <amanda.jiang@oracle.com>
yan [Fri, 28 Mar 2014 15:56:24 +0400] rev 23590
8038493: Tidy warnings cleanup for java.sql
Reviewed-by: lancea, chegar
Contributed-by: Alexander Stepanov <alexander.v.stepanov@oracle.com>
simonis [Fri, 28 Mar 2014 11:57:02 +0100] rev 23589
8038233: Fix unsafe strcpy in Java_sun_tools_attach_{Aix,Bsd,Linux}VirtualMachine_connect()
Reviewed-by: alanb
yan [Fri, 28 Mar 2014 14:33:53 +0400] rev 23588
8038242: Tidy warnings cleanup for java.awt.datatransfer, java.awt.dnd, java.awt.event
Reviewed-by: pchelko, serb
Contributed-by: Alexander Stepanov <alexander.v.stepanov@oracle.com>
mchung [Thu, 27 Mar 2014 17:11:28 -0700] rev 23587
8038451: Incorrect initialization order of static fields in sun.nio.cs.ext.JISAutoDetect$Decoder
Reviewed-by: alanb, sherman
chegar [Thu, 27 Mar 2014 13:42:39 +0000] rev 23586
8038459: Remove superflous classes on platforms without an implementation [macosx, aix]
Reviewed-by: erikj
valeriep [Wed, 26 Mar 2014 23:53:22 +0000] rev 23585
8031003: [Parfait] warnings from jdk/src/share/native/sun/security/jgss/wrapper: JNI exception pending
Summary: Fix pending exception errors found by parfait.
Reviewed-by: weijun
chegar [Wed, 26 Mar 2014 20:57:49 +0000] rev 23584
8038438: Review comments from 8034181
Reviewed-by: alanb
chegar [Wed, 26 Mar 2014 19:53:07 +0000] rev 23583
8035158: Remove dependency on sun.misc.RegexpPool and friends
Reviewed-by: chegar, michaelm
Contributed-by: Pavel Rappo <pavel.rappo@oracle.com>
mchung [Wed, 26 Mar 2014 09:00:49 -0700] rev 23582
8038177: Eliminate unnecessary dependency to sun.security.action
Reviewed-by: chegar, alanb
alanb [Wed, 26 Mar 2014 12:25:09 +0000] rev 23581
8038343: Eliminate use of reflection to access JavaBeans Introspector
Reviewed-by: mchung, malenkov
igerasim [Wed, 26 Mar 2014 15:58:37 +0400] rev 23580
8014066: Remove redundant restriction from ArrayList#removeRange() spec
Reviewed-by: chegar, dholmes, martin, mduigou
mullan [Tue, 25 Mar 2014 20:32:46 -0400] rev 23579
Merge
mullan [Tue, 25 Mar 2014 20:32:07 -0400] rev 23578
8037258: AIOB while parsing CRL for revoked certificate
Reviewed-by: mullan
Contributed-by: rajan.halade@oracle.com
lana [Tue, 25 Mar 2014 14:51:01 -0700] rev 23577
Merge
alanb [Tue, 25 Mar 2014 10:14:09 +0000] rev 23576
8031563: TEST_BUG: java/nio/channels/Selector/ChangingInterests.java failed once
Reviewed-by: alanb
Contributed-by: michael.cui@oracle.com
chegar [Tue, 25 Mar 2014 09:31:37 +0000] rev 23575
8034181: SIGBUS in SctpChannelImpl receive
Reviewed-by: alanb, dsamersoff
bpb [Mon, 24 Mar 2014 14:35:32 -0700] rev 23574
8038163: Build failure on Mac OS 10.9.2 (Mavericks) due to warning treated as error
Summary: Add parentheses to conditional expression to appease compiler.
Reviewed-by: sla, alanb
Contributed-by: Pavel Rappo <pavel.rappo@oracle.com>
sherman [Mon, 24 Mar 2014 12:47:02 -0700] rev 23573
8033662: DateTimeFormatter parsing ignores withZone()
Summary: to include the set "zone" in resolved result
Reviewed-by: sherman, chegar
Contributed-by: scolebourne@joda.org
psandoz [Mon, 24 Mar 2014 17:07:08 +0100] rev 23572
8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex
Reviewed-by: alanb
alanb [Mon, 24 Mar 2014 15:09:47 +0000] rev 23571
8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
Reviewed-by: chegar
jbachorik [Mon, 24 Mar 2014 13:16:25 +0100] rev 23570
8037274: sun.tools.attach.WindowsVirtualMachine#createPipe() needs more descriptive message when pipe creation fails
Reviewed-by: alanb, dcubed, allwin
igerasim [Mon, 24 Mar 2014 14:14:03 +0400] rev 23569
6943190: TEST_BUG: some tests in java/lang/Runtime/exec have hard-coded path to shell commands
Reviewed-by: martin, rriggs, alanb
ihse [Mon, 24 Mar 2014 10:40:19 +0100] rev 23568
8038027: DTDBuilder should be run in headless mode
Reviewed-by: ihse
Contributed-by: david.dehaven@oracle.com
sla [Fri, 21 Mar 2014 14:45:54 +0100] rev 23567
8037225: sun/tools/jinfo/Basic.sh fails
Reviewed-by: alanb
sla [Fri, 21 Mar 2014 09:38:04 +0100] rev 23566
8037825: Fix warnings and enable "warnings as errors" in serviceability native libraries
Reviewed-by: alanb
msheppar [Fri, 21 Mar 2014 00:57:23 +0000] rev 23565
8035870: Check jdk/src/windows/native/java/io/WinNTFileSystem_md.c for JNI pending exceptions
Summary: NI return checks, NULL return checks for malloc added
Reviewed-by: alanb, chegar
msheppar [Fri, 21 Mar 2014 00:13:40 +0000] rev 23564
8036607: JNI exception pending in jdk/src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c
Summary: check for JNI pending exception and NULL returns from JNI calls in DualStackPlainDatagramSocketImpl.c
Reviewed-by: alanb
msheppar [Fri, 21 Mar 2014 00:01:59 +0000] rev 23563
8025293: JNI exception pending checks in java.net
Summary: enhance the return check for JNI native calls, check for NULL and pending exceptions
Reviewed-by: alanb, chegar
msheppar [Thu, 20 Mar 2014 23:34:38 +0000] rev 23562
8035340: (prefs) Check jdk/src/windows/native/java/util/WindowsPreference.c for JNI pending exceptions
Summary: Check for JNI pending exceptions. Add null checks after malloc calls
Reviewed-by: alanb, chegar
msheppar [Thu, 20 Mar 2014 23:12:55 +0000] rev 23561
8035930: Check jdk/src/windows/native/java/io/io_util_md.c for JNI pending exceptions
Summary: malloc null return checks and pending exception checks
Reviewed-by: alanb
msheppar [Thu, 20 Mar 2014 22:57:39 +0000] rev 23560
8036600: JNI exception pending in src/jdk/src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c
Summary: check JNI return values, check for pending exceptions, check malloc return value and raise OOME as needed
Reviewed-by: alanb
lancea [Thu, 20 Mar 2014 18:18:11 -0400] rev 23559
8037507: Fix broken link in javax/sql/rowset/package.html
Reviewed-by: darcy
msheppar [Thu, 20 Mar 2014 21:27:22 +0000] rev 23558
8036601: JNI exception pending in jdk/src/windows/native/sun/net/dns/ResolverConfigurationImpl.c
Summary: check JNI return values and pending exceptions, Check malloc returns, and throw OOME as appropriate
Reviewed-by: alanb
msheppar [Thu, 20 Mar 2014 21:14:51 +0000] rev 23557
8036609: Check jdk/src/windows/native/java/lang/ProcessImpl_md.c for JNI pending exceptions
Summary: added ExceptionCheck fater JNI calls
Reviewed-by: chegar
msheppar [Thu, 20 Mar 2014 21:03:43 +0000] rev 23556
8036603: Check jdk/src/windows/native/java/lang/ProcessEnvironment_md.c for JNI pending exceptions
Summary: added JNI call NULL return checks
Reviewed-by: alanb, mchung
joehw [Thu, 20 Mar 2014 13:41:17 -0700] rev 23555
8035577: Xerces Update: impl/xpath/regex/RangeToken.java
Reviewed-by: lancea, alanb, sherman, joehw
Contributed-by: david.x.li@oracle.com
msheppar [Thu, 20 Mar 2014 16:19:08 +0000] rev 23554
8036134: Check src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c for JNI pending exceptions
Summary: check malloc return value and added JUN_ThrowOutOfMemoryException
Reviewed-by: alanb
msheppar [Thu, 20 Mar 2014 15:25:57 +0000] rev 23553
8030780: test/com/sun/corba/cachedSocket/7056731.sh leaves HelloServer behind
Summary: intermittent test failure leaves server process - add server pid to test's kill -9 command
Reviewed-by: chegar
ascarpino [Wed, 19 Mar 2014 11:48:06 -0700] rev 23552
7107611: sun.security.pkcs11.SessionManager is scalability blocker
Reviewed-by: valeriep
sla [Wed, 19 Mar 2014 19:05:13 +0100] rev 23551
8037864: Add java/lang/instrument/NativeMethodPrefixAgent.java to ProblemList.txt
Reviewed-by: alanb
katleman [Wed, 02 Apr 2014 22:00:02 -0700] rev 23550
Added tag jdk9-b07 for changeset ddf6ebcc99da
duke [Wed, 05 Jul 2017 19:35:16 +0200] rev 23549
Merge
amurillo [Fri, 11 Apr 2014 11:23:30 -0700] rev 23548
Merge
amurillo [Fri, 04 Apr 2014 10:04:44 -0700] rev 23547
Merge
ehelin [Fri, 04 Apr 2014 10:24:48 +0200] rev 23546
Merge
mgerdin [Wed, 02 Apr 2014 14:17:34 +0200] rev 23545
8037959: BitMap::resize frees old map before copying memory if !in_resource_area
Summary: Add reallocate functionality to ArrayAllocator and use it from BitMap::resize
Reviewed-by: brutisso, tschatzl
ehelin [Mon, 31 Mar 2014 14:02:40 +0200] rev 23544
8033251: Use DWARF debug symbols for Linux 32-bit as default
Reviewed-by: dcubed, dholmes, coleenp
goetz [Wed, 02 Apr 2014 09:17:38 +0200] rev 23543
8038498: Fix includes and C inlining after 8035330
Summary: Change 8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure broke the debug build on AIX. The method do_oop_partial_array() is added in a header, but requires the inline function par_write_ref() through several inlined calls. In some cpp files, like arguments.cpp, par_write_ref() is not defined as the corresponding inline header and is not included. The AIX debug VM does not start because of the missing symbol. This change solves this by cleaning up include dependencies.
Reviewed-by: tschatzl, stefank
ehelin [Tue, 01 Apr 2014 15:37:15 +0200] rev 23542
Merge
brutisso [Tue, 01 Apr 2014 07:46:51 +0200] rev 23541
8038829: G1: More useful information in a few assert messages
Reviewed-by: sjohanss, jmasa
sjohanss [Thu, 13 Feb 2014 10:05:03 +0100] rev 23540
8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline
Summary: Preventing GCs to occur before VM is completely initialized. This was previously partly done by one part of the GC locker which not was removed.
Reviewed-by: coleenp, pliden
stefank [Fri, 28 Mar 2014 14:15:03 +0100] rev 23539
8038630: Remove ExtendedOopClosure::prefetch_style()
Reviewed-by: coleenp, jmasa
stefank [Fri, 28 Mar 2014 14:03:11 +0100] rev 23538
8038628: Remove unused Closure::abort()
Reviewed-by: coleenp, jmasa
mgerdin [Wed, 12 Mar 2014 15:25:35 +0100] rev 23537
8038405: Clean up some virtual fucntions in Space class hierarchy
Summary: Get rid of some duplicated implementations and change nonsense implementations to pure virtuals
Reviewed-by: stefank, jmasa
mgerdin [Wed, 12 Mar 2014 17:13:48 +0100] rev 23536
8038412: Move object_iterate_careful down from Space to ContigousSpace and CFLSpace
Summary: Only declare the functions where they are actually needed.
Reviewed-by: tschatzl, stefank
mgerdin [Wed, 12 Mar 2014 15:22:45 +0100] rev 23535
8038404: Move object_iterate_mem from Space to CMS since it is only ever used by CMS
Reviewed-by: brutisso, tschatzl, stefank
bharadwaj [Thu, 03 Apr 2014 17:05:19 -0400] rev 23534
Merge
kvn [Wed, 02 Apr 2014 13:37:45 -0700] rev 23533
Merge
kvn [Wed, 02 Apr 2014 11:24:44 -0700] rev 23532
8036767: PPC64: Support for little endian execution model
Reviewed-by: goetz, kvn, dholmes, simonis
Contributed-by: asmundak@google.com
iveresov [Wed, 02 Apr 2014 12:27:57 -0700] rev 23531
Merge
iveresov [Wed, 02 Apr 2014 11:24:51 -0700] rev 23530
8039043: Implicit null check is in the wrong place in C1 -UseCompressedOops
Summary: Null check is placed in a wrong place when storing a null to an object field on x64 with compressed oops off
Reviewed-by: roland, vlivanov, kvn
goetz [Wed, 02 Apr 2014 10:16:46 +0200] rev 23529
8039045: PPC64: need include in adl generated files after 8001532
Reviewed-by: kvn
morris [Tue, 01 Apr 2014 09:05:20 -0700] rev 23528
8001532: C2 node files refactoring
Summary: Split C2 node files into cast, convert, countbits, intrinsic, move, narrowptr and opaquenode classes
Reviewed-by: kvn, morris
kvn [Mon, 31 Mar 2014 13:08:03 -0700] rev 23527
8038633: crash in VM_Version::get_processor_features() on startup
Summary: Windows need an exception wrapper around getPsrInfo_stub() call in order to properly handle SEGV for YMM registers test.
Reviewed-by: iveresov, iignatyev
roland [Mon, 31 Mar 2014 10:35:06 +0200] rev 23526
8037970: make PrintMethodData a diagnostic options
Summary: make PrintMethodData a diagnostic options for performance investigation
Reviewed-by: kvn, iveresov
roland [Mon, 31 Mar 2014 09:08:53 +0200] rev 23525
8031755: Type speculation should be used to optimize explicit null checks
Summary: feed profiling data about reference nullness to type speculation.
Reviewed-by: kvn, iveresov
iignatyev [Sat, 29 Mar 2014 14:54:48 +0400] rev 23524
8038393: [TESTBUG] ciReplay/* tests fail after 8034775
Reviewed-by: kvn
mgronlun [Tue, 01 Apr 2014 15:45:36 +0200] rev 23523
8037295: Add size_t versions of Atomic::add, dec, and inc
Reviewed-by: dholmes, fparain
Contributed-by: david.simms@oracle.com
goetz [Tue, 01 Apr 2014 03:59:01 -0700] rev 23522
8038201: Clean up misleading usage of malloc() in init_system_properties_values()
Summary: Remove the misleading malloc macro and cleanup the code
Reviewed-by: dsamersoff, kvn
Contributed-by: goetz.lindenmaier@sap.com
dholmes [Mon, 31 Mar 2014 23:49:00 -0400] rev 23521
8016039: jvm.lib is missing from export list unless building server
Summary: make the export declaration unconditional
Reviewed-by: sla, sspitsyn
dsamersoff [Mon, 31 Mar 2014 08:23:02 -0700] rev 23520
7189721: nightly tests failed on JDI attaching
Summary: If for some reason elf section with section names is not loaded to cache it attempts to read data using NULL section pointer.
Reviewed-by: sspitsyn, sla, kevinw
dsamersoff [Sun, 30 Mar 2014 03:29:48 -0700] rev 23519
Merge
asiebenborn [Tue, 11 Mar 2014 15:22:44 +0100] rev 23518
8036666: VMTI GetObjectMonitorUsage does not return correct recursion count
Summary: fix object lock recursion count and add test
Reviewed-by: sspitsyn, dsamersoff
minqi [Fri, 28 Mar 2014 21:04:37 -0700] rev 23517
7090324: gclog rotation via external tool
Summary: GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting.
Reviewed-by: sla, minqi, ehelin
Contributed-by: suenaga.yasumasa@lab.ntt.co.jp
ctornqvi [Thu, 27 Mar 2014 22:36:08 +0100] rev 23516
8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
Summary: Wrapped the test in another layer process creation to avoid NMT being turned on.
Reviewed-by: coleenp, dcubed
coleenp [Wed, 26 Mar 2014 21:47:45 -0400] rev 23515
8031820: NPG: Fix remaining references to metadata as oops in comments
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Summary: Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa
mseledtsov [Tue, 25 Mar 2014 09:26:18 -0400] rev 23514
8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException
Summary: Excluded the test from running on Mac OS
Reviewed-by: coleenp, ctornqvi
lana [Wed, 09 Apr 2014 09:20:30 -0700] rev 23513
Merge
lana [Tue, 01 Apr 2014 17:27:19 -0700] rev 23512
Merge
amurillo [Fri, 28 Mar 2014 09:15:41 -0700] rev 23511
Merge
ehelin [Fri, 28 Mar 2014 10:41:20 +0100] rev 23510
Merge
ehelin [Wed, 26 Mar 2014 16:33:13 +0100] rev 23509
8027924: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with warning
Reviewed-by: jmasa, tschatzl
mgerdin [Thu, 06 Mar 2014 09:08:18 +0100] rev 23508
8038399: Remove dead oop_iterate MemRegion variants from SharedHeap, Generation and Space classes
Reviewed-by: tschatzl, stefank
ehelin [Wed, 19 Mar 2014 14:35:38 +0100] rev 23507
8033580: Old debug information in IMPORT_JDK is not removed
Reviewed-by: dcubed, erikj
tamao [Wed, 26 Mar 2014 12:49:34 +0100] rev 23506
6521376: MaxTenuringThreshold and AlwayTenure/NeverTenure consistency
Summary: Adapt InitialTenuringThreshold and MaxTenuringThreshold according to AlwaysTenure/NeverTenure flag setting.
Reviewed-by: jmasa, tschatzl
mgerdin [Wed, 26 Mar 2014 10:54:52 +0100] rev 23505
8037958: ConcurrentMark::cleanup leaks BitMaps if VerifyDuringGC is enabled
Summary: Allocate temporary BitMaps in the VMThread's resource area
Reviewed-by: stefank, sjohanss
ehelin [Mon, 24 Mar 2014 11:25:32 +0100] rev 23504
Merge
stefank [Thu, 20 Mar 2014 15:03:18 +0100] rev 23503
8037952: Remove code duplication in Metaspace::deallocate
Reviewed-by: tschatzl, pliden, coleenp
neliasso [Thu, 27 Mar 2014 08:03:57 -0700] rev 23502
Merge
iignatyev [Thu, 27 Mar 2014 17:29:41 +0400] rev 23501
8038193: Add command line option tests for BMI options
Reviewed-by: kvn, iignatyev
Contributed-by: filipp.zhinkin@oracle.com
neliasso [Thu, 27 Mar 2014 14:15:42 +0100] rev 23500
Merge
iignatyev [Thu, 27 Mar 2014 11:17:26 +0400] rev 23499
8038240: new WB API to get nmethod
Reviewed-by: morris, kvn
goetz [Tue, 25 Mar 2014 12:54:21 -0700] rev 23498
8037821: Account for trampoline stubs when estimating code buffer sizes
Summary: Take into account space needed for "trampoline code" used by calls on PPC64.
Reviewed-by: kvn
Contributed-by: lutz.schmidt@sap.com
iveresov [Mon, 24 Mar 2014 23:13:46 -0700] rev 23497
8038222: Assembler::bsrl fails on assert when -UseCountLeadingZerosInstruction is used on CPU with LZCNT support
Summary: Remove the overly strict assert
Reviewed-by: kvn, twisti
kvn [Mon, 24 Mar 2014 17:44:27 -0700] rev 23496
8038286: nm->set_rtm_state() should be called after (nm != NULL) check
Summary: move set_rtm_state() call after (nm != NULL) check
Reviewed-by: iveresov, twisti
poonam [Mon, 24 Mar 2014 08:43:10 -0700] rev 23495
6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
Summary: Native pointers less than 64 bits wide should be extended as an unsigned number.
Reviewed-by: kvn, kevinw
kvn [Fri, 21 Mar 2014 18:03:11 -0700] rev 23494
8038181: Can't build product VM without precompiled header
Summary: Added missing #include.
Reviewed-by: twisti
iignatyev [Sat, 22 Mar 2014 00:26:48 +0400] rev 23493
8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
Reviewed-by: iveresov, kvn, iignatyev
Contributed-by: filipp.zhinkin@oracle.com
goetz [Thu, 20 Mar 2014 11:03:06 +0100] rev 23492
8037915: PPC64/AIX: Several smaller fixes
Reviewed-by: kvn
kvn [Thu, 20 Mar 2014 17:49:27 -0700] rev 23491
8031320: Use Intel RTM instructions for locks
Summary: Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
twisti [Wed, 19 Mar 2014 11:37:58 -0700] rev 23490
8031203: remove SafepointPollOffset
Reviewed-by: kvn, roland
neliasso [Tue, 18 Mar 2014 14:22:42 +0100] rev 23489
Merge
bharadwaj [Mon, 17 Mar 2014 11:33:21 -0400] rev 23488
8036576: jtreg failed on Test6792161 timed out
Summary: Increase time out value of test since debug VM executes additional code
Reviewed-by: kvn
kvn [Fri, 14 Mar 2014 17:28:58 -0700] rev 23487
8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16
Summary: verify YMM registers after signal processing and set limit on vector's size.
Reviewed-by: iveresov, twisti
iveresov [Thu, 13 Mar 2014 14:55:34 -0700] rev 23486
8037140: C1: Incorrect argument type used for SharedRuntime::OSR_migration_end in LIRGenerator::do_Goto
Summary: Fix the type of osrBuffer parameter to depend on bitness
Reviewed-by: kvn, twisti
iveresov [Thu, 13 Mar 2014 14:55:10 -0700] rev 23485
8037149: C1: getThreadTemp should return a T_LONG register on 64bit
Summary: Fix the type of the register returned by getThreadTemp() to depend on bitness
Reviewed-by: kvn, twisti