History log of /openjdk10/hotspot/src/share/vm/prims/jni.cpp
Revision Date Author Comments
# 13544:61c0ae8bee4e 31-Aug-2017 gziemski

8173715: Remove FlatProfiler
Summary: Obsoleted Xprof flag, removed FlatProfiler code
Reviewed-by: dholmes, coleenp, vlivanov, pliden


# 13474:d4f8d54fdb26 15-Aug-2017 stuefe

8186199: [windows] JNI_DestroyJavaVM not covered by SEH
Reviewed-by: dholmes, mdoerr


# 13213:4358b7205556 28-Jun-2017 coleenp

8182848: Some functions misplaced in debug.hpp
Summary: moved to vmError.hpp,cpp where they seemed more appropriate
Reviewed-by: stefank, stuefe


# 13055:1f3fa7855a62 04-May-2017 hseigel

8056900: Enhance NoClassDefFound exception messaging
Summary: Add text to the message explaining the cause of the exception
Reviewed-by: dholmes, sspitsyn, coleenp


# 12993:a8503d22944f 06-Apr-2017 jwilhelm

Merge


# 12962:9f51134c94ed 16-Mar-2017 jwilhelm

Merge


# 12953:d342027d6321 15-Mar-2017 coleenp

8155672: Remove instanceKlassHandles and KlassHandles
Summary: Summary: Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.
Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn


# 12721:b163435e40b3 22-Mar-2017 mgerdin

8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, coleenp, tschatzl


# 12682:18607b3adc85 02-Mar-2017 jwilhelm

8176054: [BACKOUT][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, mgerdin


# 12677:30befb9c6655 17-Feb-2017 mgerdin

8175085: [REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, dcubed, tschatzl


# 12654:ee34d6aabf5f 16-Feb-2017 dcubed

8175086: [BACKOUT] fix for JDK-8166188
Reviewed-by: kbarrett, jwilhelm, dcubed


# 12649:3bc68ff68250 15-Feb-2017 kbarrett

8166188: G1 Needs pre barrier on dereference of weak JNI handles
Summary: Add low tag to jweaks and G1 barrier for jweak loads.
Reviewed-by: mgerdin, mdoerr, pliden, dlong, dcubed, coleenp, aph, tschatzl
Contributed-by: kim.barrett@oracle.com, martin.doerr@sap.com, volker.simonis@sap.com


# 12290:8953c0318163 01-Dec-2016 alanb

8169069: Module system implementation refresh (11/2016)
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
Contributed-by: lois.foltan@oracle.com, harold.seigel@oracle.com, alan.bateman@oracle.com, mandy.chung@oracle.com, serguei.spitsyn@oracle.com, george.triantafillou@oracle.com


# 12122:4962f9f46728 03-Oct-2016 dholmes

8081800: AbstractMethodError when evaluating a private method in an interface via debugger
Reviewed-by: acorn, dcubed, coleenp


# 11857:d0fbf661cc16 21-Aug-2016 dholmes

8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Summary: Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis


# 11337:ee08531ac116 25-May-2016 kbarrett

8156548: gc/gctests/StringInternSyncWithGC2 fails with Test level exit status: 151
Summary: Avoid repeated verification.
Reviewed-by: jmasa, drwhite


# 11307:c9192107d675 11-May-2016 never

8156034: [JVMCI] Notify the jvmci compiler on completion of a bootstrap
Reviewed-by: twisti
Contributed-by: josef.eisl@jku.at


# 11097:0679677b7de3 29-Apr-2016 mockner

8154110: Update class* and safepoint* logging subsystems
Summary: Refactored logging tags in class and safepoint subsystems.
Reviewed-by: coleenp, rehn, hseigel


# 10888:cffe9fa07710 09-Feb-2016 coleenp

8149170: Better byte behavior should normalize JNI arguments
Summary: Arguments coming from native should be converted to 0=false, 1-255=true
Reviewed-by: kvn, kevinw, jrose, bdelsart, gtriantafill


# 10885:4b425192636c 13-Oct-2015 coleenp

8132051: Better byte behavior
Reviewed-by: bdelsart, roland, kvn, jrose, ahgross
Contributed-by: coleen.phillimore@oracle.com, roland.westerlin@oracle.com, vladimir.kozlov@oracle.com, john.r.rose@oracle.com


# 10762:ea81fe138932 03-Apr-2016 jprovino

8132524: Missing includes to resourceArea.hpp
Summary: Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm


# 10693:906fa01e86a0 23-Mar-2016 jwilhelm

Merge


# 10592:55a9b972bc55 10-Mar-2016 mockner

8146551: The output from classresolve tag has been shortened and moved to debug level.
Summary: The output from classresolve tag has been shortened and moved to debug level.
Reviewed-by: coleenp, rprotacio


# 10420:c558850fac57 17-Mar-2016 alanb

8142968: Module System implementation
Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, harold.seigel@oracle.com, lois.foltan@oracle.com, calvin.cheung@oracle.com, christian.tornqvist@oracle.com, erik.joelsson@oracle.com, george.triantafillou@oracle.com, igor.ignatyev@oracle.com, ioi.lam@oracle.com, james.laskey@oracle.com, jean-francois.denise@oracle.com, jiangli.zhou@oracle.com, markus.gronlund@oracle.com, serguei.spitsyn@oracle.com, staffan.larsen@oracle.com, sundararajan.athijegannathan@oracle.com


# 10408:ac4b6ebbdd6c 02-Mar-2016 rprotacio

8145098: JNI GetVersion should return JNI_VERSION_9
Summary: Updated JNI_VERSION for current version to be JNI_VERSION_9
Reviewed-by: hseigel, gtriantafill, dholmes, alanb


# 10396:6b59d8ba8fc5 01-Mar-2016 mgronlun

8143226: Minor updates to Event Based tracing
Reviewed-by: jbachorik, egahlin


# 10281:9fd1e876ec1f 17-Feb-2016 simonis

8150079: MSVC prior to VS 2013 doesn't know the 'va_copy' macro
Reviewed-by: dholmes


# 10161:7954a3de5f0c 18-Jan-2016 mgerdin

8148481: Devirtualize Klass::vtable
Summary: Move remainder of vtable related methods to Klass
Reviewed-by: cjplummer, coleenp


# 9974:e4a935122c2b 14-Jan-2016 ehelin

8146994: Move internal vm tests to a separate file
Reviewed-by: coleenp, stefank, kbarrett, mikael


# 9955:4622b88afeee 14-Jan-2016 coleenp

Merge


# 9954:69ff126be7e8 14-Jan-2016 coleenp

Merge


# 9953:5a375300c073 04-Jan-2016 goetz

8146401: Clean up oop.hpp: add inline directives and fix header files
Reviewed-by: coleenp


# 9952:09636a2eaeff 14-Jan-2016 coleenp

8145940: TempNewSymbol should have correct copy and assignment functions
Summary: Add clear() to the assignment operator and add copy constructor.
Reviewed-by: mgronlun, lfoltan, kbarrett, jrose


# 9947:9a2baaa34464 14-Jan-2016 david

8146690: Make all classes in GC follow the naming convention.
Reviewed-by: dholmes, stefank


# 9885:a51c3c17ec6e 23-Dec-2015 mockner

8144874: Reimplement TraceClassResolution with Unified Logging.
Summary: TraceClassResolution reimplemented with classresolve tag.
Reviewed-by: coleenp, dholmes, iklam, rprotacio


# 9828:2709d991eabd 14-Dec-2015 simonis

8145015: jni_GetStringCritical asserts for empty strings
Reviewed-by: thartmann, dholmes


# 9727:f944761a3ce3 10-Dec-2015 brutisso

8145092: Use Unified Logging for the GC logging
Summary: JEP-271. VM changes contributed by brutisso, test changes contributed by david.
Reviewed-by: sjohanss, david, brutisso
Contributed-by: bengt.rutisson@oracle.com, david.lindholm@oralce.com


# 9684:cca80b5ad4d7 08-Dec-2015 mgronlun

8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn


# 9667:0fd3f6eba8ff 05-Dec-2015 tschatzl

8144583: Test sanity/ExecuteInternalVMTests.java fails
Summary: Remove a test that is highly dependent on timing.
Reviewed-by: jwilhelm


# 9651:f7dc8eebc3f5 04-Dec-2015 dholmes

8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Summary: Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)
Reviewed-by: stuefe, bdelsart, dcubed


# 9605:3d7f9ca8b1f0 30-Nov-2015 jwilhelm

Merge


# 9586:cf01c334f0be 24-Nov-2015 tschatzl

8136681: Factor out IHOP calculation from G1CollectorPolicy
Summary: Move out existing IHOP value calculation into an implementation of a new interface called G1IHOPControl. Prepare for changes to accomodate adaptive IHOP implementation.
Reviewed-by: jmasa, mgerdin, ehelin


# 9573:fb4a19e4f7dc 24-Nov-2015 rprotacio

8143155: Remove TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls rather than convert to UL
Summary: Removed TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls options because their output is excessive, not useful, and covered in a more useful way by other options.
Reviewed-by: coleenp, dholmes, ddmitriev


# 9483:09ac9142d6ef 17-Nov-2015 vlivanov

8139595: MethodHandles::remove_dependent_nmethod is not MT safe
Reviewed-by: jrose, coleenp


# 9473:5132864a5d5f 13-Nov-2015 neliasso

Merge


# 9462:231763c1883e 11-Nov-2015 twisti

8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
Reviewed-by: goetz, stefank


# 9383:19ed05bd68dc 11-Nov-2015 jprovino

Merge


# 9336:766ae06f30ca 04-Nov-2015 rprotacio

8138916: Logging write function does not allow for long enough messages
Summary: The unified logging framework's vwrite function is updated to allow strings longer than 512 characters, for the sake of messages of non-pre-determined length.
Reviewed-by: coleenp, dsamersoff, mlarsson


# 9324:3bef2d08010e 18-Aug-2014 mgerdin

8055283: Expand ResourceHashtable with C_HEAP allocation, removal and some unit tests
Reviewed-by: ehelin, tschatzl, coleenp


# 9293:a20807e48002 06-Nov-2015 neliasso

Merge


# 9283:f31349f1215e 03-Nov-2015 thartmann

8141132: JEP 254: Compact Strings
Summary: Adopt a more space-efficient internal representation for strings.
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
Contributed-by: Brent Christian <brent.christian@oracle.com>, Vivek Deshpande <vivek.r.deshpande@intel.com>, Tobias Hartmann <tobias.hartmann@oracle.com>, Charlie Hunt <charlie.hunt@oracle.com>, Vladimir Kozlov <vladimir.kozlov@oracle.com>, Roger Riggs <roger.riggs@oracle.com>, Xueming Shen <xueming.shen@oracle.com>, Aleksey Shipilev <aleksey.shipilev@oracle.com>, Sandhya Viswanathan <sandhya.viswanathan@intel.com>


# 9281:e33baf2cad34 05-Nov-2015 jwilhelm

Merge


# 9278:9c3631bf7c4b 29-Oct-2015 ehelin

8140393: Move WorkerDataArray to its own file
Reviewed-by: tschatzl, mgerdin, tbenson


# 9267:5451df1520e3 28-Oct-2015 coleenp

Merge


# 9266:4535697211eb 28-Oct-2015 coleenp

8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses
Summary: Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.
Reviewed-by: jrose, lfoltan, stefank


# 9255:0aa8adafb982 26-Oct-2015 sangheki

8139801: Error message from validation check has wrong order on Windows
Summary: Added flushing stdout and stderr before exit or abort
Reviewed-by: coleenp, cjplummer


# 9231:029a2b20b570 13-Oct-2015 stefank

8058563: InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries
Reviewed-by: mgerdin, vlivanov


# 9210:e7b4c40ebb11 26-Oct-2015 dlong

Merge


# 9191:a176d4737606 20-Oct-2015 neliasso

8137167: JEP165: Compiler Control: Implementation task
Summary: Compiler Control JEP
Reviewed-by: roland, twisti, zmajo, simonis


# 9181:29c399fbbf25 20-Oct-2015 jprovino

Merge


# 9165:5b33eeb13775 15-Oct-2015 tschatzl

8137082: Factor out G1 prediction code from G1CollectorPolicy and clean up
Summary: Factor out G1 prediction code from G1CollectorPolicy into its own class, constify methods of G1CollectorPolicy and move more implementations to the cpp file.
Reviewed-by: jmasa, sangheki, ecaspole, kbarrett


# 9111:a41fe5ffa839 08-Oct-2015 twisti

8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett


# 8927:c66e1029a407 31-Aug-2015 kbarrett

8131330: G1CollectedHeap::verify_dirty_young_list fails with assert
Summary: Use assembly loop to avoid compiler optimization into memset
Reviewed-by: ecaspole, tschatzl


# 8656:289a2d2a8f97 19-Jan-2015 stefank

8087322: Implement a Semaphore utility class
Reviewed-by: kbarrett, dholmes


# 8474:3cd78165832b 02-Jun-2015 aeriksso

8072588: JVM crashes in JNI if toString is declared as an interface method
Summary: Check for a valid itable index instead of checking if the holder is an interface
Reviewed-by: dsimms, dholmes


# 8413:92457dfb91bd 13-May-2015 pliden

8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david


# 8128:883ae015914d 03-Apr-2015 stuefe

8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Summary: add __try/__except around JNI_CreateJavaVM
Reviewed-by: mgronlun, dcubed


# 7864:6a5be7f00868 13-Feb-2015 stefank

8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes


# 7426:0f6100dde08e 17-Nov-2014 jwilhelm

Merge


# 7425:986020ea95b1 11-Nov-2014 stefank

8064581: Move INCLUDE_ALL_GCS include section to the end of the include list
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes


# 7420:bad5bf926f89 13-Nov-2014 goetz

8064786: Fix debug build after 8062808: Turn on the -Wreturn-type warning
Reviewed-by: stefank, tschatzl


# 7331:110ec5963eb1 29-Oct-2014 goetz

8062370: Various minor code improvements
Summary: A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes


# 7249:f1821f27f91c 02-Oct-2014 stefank

8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
Reviewed-by: mgerdin, coleenp, bdelsart


# 7067:b326a3e8dcab 24-Jun-2014 ehelin

8049864: TestParallelHeapSizeFlags fails with unexpected heap size
Reviewed-by: sjohanss, jmasa


# 6897:8985af9b3519 19-Aug-2014 tschatzl

8038423: G1: Decommit memory within heap
Summary: Allow G1 to decommit memory of arbitrary regions within the heap and their associated auxiliary data structures card table, BOT, hot card cache, and mark bitmaps.
Reviewed-by: mgerdin, brutisso, jwilhelm


# 6853:91eeb8807a03 07-Aug-2014 zgu

8046598: Scalable Native memory tracking development
Summary: Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill


# 6738:553f14d70527 15-Jul-2014 dcubed

8049717: expose L1_data_cache_line_size for diagnostic/sanity checks
Summary: Add support for VM_Version::L1_data_cache_line_size().
Reviewed-by: dsimms, kvn, dholmes


# 6735:0dad53374470 14-Jul-2014 dsimms

8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
Summary: Increase the previous limit from 4k to 64k, added "-XX:MaxJNILocalCapacity=<capacity>" flag
Reviewed-by: hseigel, fparain


# 6692:4f9fa4b62c18 08-Jul-2014 fparain

8047714: Fix for JDK-6546236 made Solaris os::yield() a no-op
Reviewed-by: hseigel, lfoltan


# 6684:90b8f9f6c793 02-Jul-2014 coleenp

Merge


# 6683:08a2164660fb 26-Jun-2014 goetz

8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan


# 6662:83bb27e115b7 02-Jul-2014 ehelin

Merge


# 6661:6e3afae50470 02-Jul-2014 ehelin

8048895: Back out JDK-8027915
Reviewed-by: mgerdin, stefank


# 6659:71f6c16d1d77 25-Jun-2014 jmasa

Merge


# 6650:2cb6dfbbc344 24-Jun-2014 ehelin

8027915: TestParallelHeapSizeFlags fails with unexpected heap size on sparcv9
Reviewed-by: jmasa, sjohanss


# 6649:01ab9db4584f 25-Jun-2014 jmasa

Merge


# 6646:b596a1063e90 04-Jun-2014 goetz

8044775: Improve usage of umbrella header atomic.inline.hpp.
Reviewed-by: stefank, kvn


# 6628:45831d971923 23-Jun-2014 fparain

8043630: Method os::yield_all() should be removed
Reviewed-by: dholmes, dsimms


# 6591:f25701035057 10-Jun-2014 dsimms

6311046: -Xcheck:jni should support checking of GetPrimitiveArrayCritical.
Summary: Wrapped memory with standard bounds checking "GuardedMemory".
Reviewed-by: zgu, fparain, dcubed


# 6444:47b707b6c4e7 15-May-2014 coleenp

8025580: Temporary flags: UseNewReflection and ReflectionWrapResolutionErrors
Summary: The fix removes all UseNewReflection/ReflectionWrapResolutionErrors occurrences/logic and adds them into the list of obsolete_jvm_flags in arguments.cpp.
Reviewed-by: coleenp, hseigel
Contributed-by: ygaevsky@azulsystems.com


# 6412:53a41e7cbe05 09-May-2014 drchase

8037816: Fix for 8036122 breaks build with Xcode5/clang
Summary: Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank


# 6402:2377269bd73d 29-Apr-2014 goetz

8042195: Introduce umbrella header orderAccess.inline.hpp.
Reviewed-by: dholmes, kvn, stefank, twisti


# 6348:3117c892d6a7 03-Apr-2014 mgerdin

6664815: Eliminate redundant memcpy operation in jni_GetStringUTFRegion
Summary: Added support for target buffer in as_utf8_string(), minor refactoring of as_utf8 and added some internal VM testing
Reviewed-by: coleenp, dsimms, sla, dholmes
Contributed-by: marcus.larsson@oracle.com


# 6286:3f9cfa1f9f0f 14-Apr-2014 dsimms

8039947: Dtrace return probe name for jni_SetStaticBooleanField named incorrectly
Reviewed-by: sla, dholmes, gtriantafill


# 6261:fcb88e54b943 08-Apr-2014 ehelin

Merge


# 6253:3a2f6555b3f0 19-Mar-2014 sjohanss

8029186: regression-hotspot nightly failure: assert(FLAG_IS_DEFAULT(MaxNewSize) || MaxNewSize < MaxHeapSize) failed
Summary: Cleaned up the collector policy and added more asserts to enforce that the heap is correctly setup.
Reviewed-by: jwilhelm, jmasa


# 6237:acc82646ad7a 04-Apr-2014 ehelin

Merge


# 6236:219f82e22750 02-Apr-2014 mgerdin

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


# 6218:be5c9920f0e1 31-Mar-2014 kvn

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


# 6142:7c383fe0d35a 17-Mar-2014 tschatzl

8035406: Improve data structure for Code Cache remembered sets
Summary: Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.
Reviewed-by: mgerdin, brutisso


# 6046:7f0e0366ec81 27-Feb-2014 stefank

8035746: Add missing Klass::oop_is_instanceClassLoader() function
Reviewed-by: mgerdin, coleenp


# 6044:3f406218c511 26-Feb-2014 jwilhelm

8035822: Unable to test minimalVM
Summary: Moved the test code inside INCLUDE_ALL_GCS
Reviewed-by: dholmes, stefank


# 5934:e6195383bcaf 18-Feb-2014 sla

8034080: Remove the USDT1 dtrace code from Hotspot
Reviewed-by: dholmes, coleenp


# 5933:c66479743828 15-Feb-2014 hseigel

Merge


# 5924:4f6bf7dd3f52 12-Feb-2014 ccheung

8028785: [parfait] warnings from b116 for hotspot.src.share.vm.prims: JNI exception pending
Summary: added JNI exception pending check in several files under src/share/vm/prims directory
Reviewed-by: coleenp, minqi


# 5914:f7f0c6a77d6d 05-Feb-2014 sjohanss

8033426: Scale initial NewSize using NewRatio if not set on command line
Summary: Now using NewRatio to size initial NewSize if not specified on commandline.
Reviewed-by: jmasa, jwilhelm


# 5911:553d15cdfec5 10-Feb-2014 ehelin

Merge


# 5910:937cf56dede6 09-Feb-2014 stefank

8033764: Remove the usage of StarTask from BufferingOopClosure
Reviewed-by: mgerdin, brutisso, tschatzl


# 5875:602e80a36dfb 03-Feb-2014 sla

8033126: Can't call default methods from JNI
Reviewed-by: dholmes, acorn, kamg


# 5867:2c95095271e9 30-Jan-2014 ehelin

Merge


# 5866:44315152d434 29-Jan-2014 jwilhelm

8028391: Make the Min/MaxHeapFreeRatio flags manageable
Summary: Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.
Reviewed-by: sla, mgerdin, brutisso


# 5850:febc6428bc79 27-Jan-2014 coleenp

8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
Summary: Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.
Reviewed-by: dholmes, hseigel


# 5843:d050fbf914d8 23-Jan-2014 gdub

8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
Summary: The fix just throws an InstantiationException if the Klass is NULL.
Reviewed-by: coleenp, twisti, jrose
Contributed-by: gdub <duboscq@ssw.jku.at>


# 5831:a3ba776d6ab6 16-Jan-2014 sla

8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, dsamersoff


# 5732:dbcb1dd0785b 18-Dec-2013 sla

8029726: On OS X some dtrace probe names are mismatched with Solaris
8029727: On OS X dtrace probes Call<type>MethodA/Call<type>MethodV are not fired.
8029728: On OS X dtrace probes SetStaticBooleanField are not fired
Reviewed-by: kamg, dsamersoff


# 5569:1d1ea10fe09f 15-Oct-2013 mgerdin

8015255: NPG: Don't waste fragment at the end of a VirtualSpaceNode before retiring it.
Summary: Chunk up the last piece of committed memory in a VSN when getting a new one.
Reviewed-by: stefank, jmasa


# 5506:bdfbb1fb19ca 15-Oct-2013 stefank

8026391: The Metachunk header wastes memory
Reviewed-by: coleenp, jmasa


# 5413:ac9cb1d5a202 06-Oct-2013 acorn

8009130: Lambda: Fix access controls, loader constraints.
Summary: New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp


# 5409:f9be370a7d54 05-Oct-2013 sla

8025922: JNI access to Strings need to check if the value field is non-null
Reviewed-by: dholmes, dcubed


# 5339:03f493ce3a71 25-Sep-2013 brutisso

8025228: assert(new_entry->reserved_words() == vs_word_size) fails in nightly
Reviewed-by: mgerdin, tschatzl, jmasa


# 5338:a19bea467577 25-Sep-2013 tschatzl

7163191: G1: introduce a "heap spanning table" abstraction
Summary: Add G1BiasedArray<T> that is an array where each element represents a fixed-sized subdivision of the heap. Use this abstraction to refactor the HeapRegionSeq class.
Reviewed-by: brutisso


# 5302:da051ce490eb 19-Sep-2013 adlertz

Merge


# 5297:b2e698d2276c 13-Sep-2013 drchase

8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Summary: Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose


# 5285:06ae47d9d088 19-Sep-2013 tschatzl

Merge


# 5269:c4c768305a8f 12-Sep-2013 stefank

8024638: Count and expose the amount of committed memory in the metaspaces
Reviewed-by: brutisso, ehelin


# 5248:621eda7235d2 16-Sep-2013 minqi

7164841: Improvements to the GC log file rotation
Summary: made changes to easily identify current log file in rotation. Parameterize the input with %t for time replacement in file name.
Reviewed-by: ccheung, tschatzl, tamao, zgu
Contributed-by: yumin.qi@oracle.com


# 5144:21ffbaa691b5 26-Aug-2013 stefank

Merge


# 5143:4c84d351cca9 16-Aug-2013 stefank

8007074: SIGSEGV at ParMarkBitMap::verify_clear()
Summary: Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.
Reviewed-by: tschatzl, dcubed, brutisso


# 5142:faf2631b9334 26-Aug-2013 dsimms

8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
Summary: Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.
Reviewed-by: dholmes, coleenp


# 4930:59b052799158 04-Jul-2013 dcubed

8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Summary: Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp


# 4927:f323bbb0e6c1 03-Jul-2013 coleenp

8019833: Wrong JNI error code for preexisting JVM
Summary: Return the appropriate JNI error message (instead of the generic one) when the JVM is already started
Reviewed-by: coleenp, hseigel
Contributed-by: sylvestre@debian.org


# 4897:97c5acae48be 30-Jun-2013 hseigel

7007040: Check of capacity paramenters in JNI_PushLocalFrame is wrong
Summary: changed AND to OR
Reviewed-by: coleenp, hseigel
Contributed-by: lois.foltan@oracle.com


# 4802:f2110083203d 10-Jun-2013 sla

8005849: JEP 167: Event-Based JVM Tracing
Reviewed-by: acorn, coleenp, sla
Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>


# 4730:6702da6b6082 21-May-2013 tschatzl

8014405: G1: PerRegionTable::fl_mem_size() calculates size of the free list using wrong element sizes
Summary: Instead of using a simple sizeof(), ask the PerRegionTable class about its size when iterating over the free list.
Reviewed-by: jwilhelm, brutisso


# 4454:cc32ccaaf47f 04-Apr-2013 mikael

8003310: Enable -Wunused-function when compiling with gcc
Summary: Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn


# 4358:499ccc15bbc8 15-Mar-2013 bpittore

8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs
Reviewed-by: dlong, alanb, mduigou


# 4107:db9981fd3124 23-Jan-2013 jprovino

8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Summary: Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank


# 3866:c24f778e9401 29-Nov-2012 johnc

Merge


# 3864:f34d701e952e 27-Nov-2012 stefank

8003935: Simplify the needed includes for using Thread::current()
Reviewed-by: dholmes, rbackman, coleenp


# 3855:7c15faa95ce7 27-Nov-2012 mikael

8003879: Duplicate definitions in vmStructs
Summary: Removed duplicate entries
Reviewed-by: dholmes, sspitsyn


# 3845:80e866b1d053 16-Nov-2012 coleenp

Merge


# 3843:070d523b96a7 12-Nov-2012 hseigel

8001471: Klass::cast() does nothing
Summary: Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp


# 3832:bd7a7ce2e264 12-Nov-2012 minqi

6830717: replay of compilations would help with debugging
Summary: When java process crashed in compiler thread, repeat the compilation process will help finding root cause. This is done with using SA dump application class data and replay data from core dump, then use debug version of jvm to recompile the problematic java method.
Reviewed-by: kvn, twisti, sspitsyn
Contributed-by: yumin.qi@oracle.com


# 3816:18fb7da42534 06-Nov-2012 coleenp

8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
Summary: Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
Contributed-by: harold.seigel@oracle.com


# 3732:9855b7e559ae 12-Oct-2012 collins

Merge


# 3730:fb19af007ffc 10-Oct-2012 jprovino

7189254: Change makefiles for more flexibility to override defaults
Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp


# 3713:75982791ddb6 08-Oct-2012 coleenp

7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
Summary: Don't use HS_DTRACE_PROBE_CDECL_N and HS_DTRACE_PROBE_N directly.
Reviewed-by: coleenp, kamg, dholmes, sspitsyn
Contributed-by: Mark Wielaard <mjw@redhat.com>


# 3707:d8ce2825b193 29-Sep-2012 coleenp

8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Summary: Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn


# 3602:da91efe96a93 01-Sep-2012 coleenp

6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>


# 3465:d2a62e0f25eb 28-Jun-2012 zgu

6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain


# 3430:e9140bf80b4a 13-Jun-2012 coleenp

7158800: Improve storage of symbol tables
Summary: Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance
Reviewed-by: pbk, kamg, dlong, kvn, fparain


# 3393:dcfcdd01af4b 05-Jun-2012 fparain

7171703: JNI DefineClass crashes client VM when first parameter is NULL
Reviewed-by: acorn, kamg, sspitsyn, dholmes


# 2992:94ec88ca68e2 11-Jan-2012 phh

7115199: Add event tracing hooks and Java Flight Recorder infrastructure
Summary: Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.
Reviewed-by: acorn, sspitsyn
Contributed-by: markus.gronlund@oracle.com


# 2900:3c648b9ad052 13-Dec-2011 stefank

7121373: Clean up CollectedHeap::is_in
Summary: Fixed G1CollectedHeap::is_in, added tests, cleaned up comments and made Space::is_in pure virtual.
Reviewed-by: brutisso, tonyp, jcoomes


# 2831:6fd81579526f 31-Oct-2011 brutisso

7102044: G1: VM crashes with assert(old_end != new_end) failed: don't call this otherwise
Summary: arrayOopDesc::max_array_length() should return a value that does not overflow a size_t if it is converted to bytes.
Reviewed-by: kvn, dholmes


# 2767:436b4a3231bf 13-Oct-2011 dcubed

7098194: integrate macosx-port changes
Summary: Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Reviewed-by: kvn, dholmes, never, phh
Contributed-by: Christos Zoulas <christos@zoulas.com>, Greg Lewis <glewis@eyesbeyond.com>, Kurt Miller <kurt@intricatesoftware.com>, Alexander Strange <astrange@apple.com>, Mike Swingler <swingler@apple.com>, Roger Hoover <rhoover@apple.com>, Victor Hernandez <vhernandez@apple.com>, Pratik Solanki <psolanki@apple.com>


# 2721:f08d439fab8c 25-Sep-2011 never

7089790: integrate bsd-port changes
Reviewed-by: kvn, twisti, jrose
Contributed-by: Kurt Miller <kurt@intricatesoftware.com>, Greg Lewis <glewis@eyesbeyond.com>, Jung-uk Kim <jkim@freebsd.org>, Christos Zoulas <christos@zoulas.com>, Landon Fuller <landonf@plausible.coop>, The FreeBSD Foundation <board@freebsdfoundation.org>, Michael Franz <mvfranz@gmail.com>, Roger Hoover <rhoover@apple.com>, Alexander Strange <astrange@apple.com>


# 2702:e6b1331a51d2 10-Sep-2011 never

7086585: make Java field injection more flexible
Reviewed-by: jrose, twisti, kvn, coleenp


# 2563:8a4fc2990229 07-Jul-2011 jcoomes

7053189: remove some unnecessary platform-dependent includes
Reviewed-by: dholmes, never, jwilhelm, kvn


# 2541:04760e41b01e 28-Jun-2011 brutisso

7016112: CMS: crash during promotion testing
Summary: Also reviewed by mikael.gerdin@oracle.com; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates.
Reviewed-by: never, coleenp, ysr


# 2346:e1162778c1c8 07-Apr-2011 johnc

7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
Summary: A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.
Reviewed-by: kvn, iveresov, never, tonyp, dholmes


# 2223:c7f3d0b4570f 18-Mar-2011 never

7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank


# 2062:3582bf76420e 27-Jan-2011 coleenp

6990754: Use native memory and reference counting to implement SymbolTable
Summary: move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank


# 1896:017cd8bce8a8 07-Dec-2010 sla

6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
Summary: Tag allocated memory with a magic value and verify when releasing.
Reviewed-by: phh, stefank


# 1887:828eafbd85cc 01-Dec-2010 ikrylov

6348631: remove the use of the HPI library from Hotspot
Summary: move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request
Reviewed-by: coleenp, acorn, dsamersoff


# 1879:f95d63e2154a 23-Nov-2010 stefank

6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg


# 1601:126ea7725993 03-Aug-2010 bobv

6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes


# 1472:c18cbe5936b8 27-May-2010 trims

6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair


# 1410:f03d0a26bf83 22-Apr-2010 jcoomes

6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed


# 1290:c8a467bf56ad 02-Mar-2010 coleenp

6914050: jvm assertion "guard pages must be in use" in -Xcomp mode
Summary: Move creating stack guard pages in jni attach thread before potential java call rather than after. Also cleanup stack guard pages when jni attach fails
Reviewed-by: never, dholmes


# 1142:4ce7240d622c 06-Jan-2010 never

6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti


# 1132:896da934748c 04-Jan-2010 twisti

6913869: Zero assert fix
Summary: Zero currently won't build on zSeries or PowerPC machines with assertions turned on.
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>


# 1078:8e7adf982378 27-Nov-2009 twisti

6896043: first round of zero fixes
Reviewed-by: kvn
Contributed-by: Gary Benson <gbenson@redhat.com>


# 1034:08780c8a9f04 20-Oct-2009 kamg

6893483: DTrace probe return values for a couple JNI methods are wrong
Summary: Fix the shadowing and incorrect macro usages
Reviewed-by: coleenp


# 973:ad6585fd4087 03-Sep-2009 acorn

6830542: Performance: JVM_DefineClass already verified.
Reviewed-by: kamg, phh


# 657:715dceaa89b7 25-Mar-2009 acorn

6603316: Improve instrumentation for classes loaded at startup
Reviewed-by: xlu, mchung


# 579:0fbdb4381b99 09-Mar-2009 xdono

6814575: Update copyright year
Summary: Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair


# 521:4db4e58c16bd 13-Jan-2009 xlu

6791815: Fix for 6471657 can cause deadlock on non-Solaris platforms when initializing direct buffer support
Summary: Place the state transition inside the loop so that the VMThread could proceed for safepoint
Reviewed-by: dholmes, never, acorn


# 477:24fda36852ce 10-Dec-2008 coleenp

6727377: VM stack guard pages on Windows should PAGE_READWRITE not PAGE_EXECUTE_READWRITE
Summary: Make reguard_stack change access to RW, not execute and use os::protect_memory with the new parameter when change needed to X.
Reviewed-by: acorn, jcoomes


# 237:1fdb98a17101 19-Jul-2008 coleenp

6716785: implicit null checks not triggering with CompressedOops
Summary: allocate alignment-sized page(s) below java heap so that memory accesses at heap_base+1page give signal and cause an implicit null check
Reviewed-by: kvn, jmasa, phh, jcoomes


# 235:9c2ecc2ffb12 11-Jul-2008 trims

Merge


# 227:8d852b81e775 22-Jun-2008 poonam

6694099: Hotspot vm_exit_out_of_memory should dump core
Summary: This fix enables the generation of core file when process runs out of C-heap.
Reviewed-by: sbohne


# 196:d1605aabd0a1 02-Jul-2008 xdono

6719955: Update copyright year
Summary: Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell


# 113:ba764ed4b6f2 13-Apr-2008 coleenp

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold


# 0:a61af66fc99e 30-Nov-2007 duke

Initial load